- New: Support restarting
Services withtriggerServiceRebirth. - New: Restart an
Activitywith only aClassreference. - Change:
ProcessPheonixclass no longer extendsActivity. In practice no one should have been relying on this anyway.
- New: Support for launching the default Leanback intent on Android TV.
- Strict mode's unsafe intent policy is now automatically disabled before launching back into the main application.
- Fix: Add
exported=falseto activity for Android 12 targetSdk compatibility.
- Fix: Ensure a new, clear task stack is used when user intent(s) are supplied.
- Fix: Ensure default activity can be found on Android 8.0 and newer.
- Fix: Reduce/eliminate launcher flashing when performing a process restart.
- Fix: Useless
BuildConfigclass is no longer included.
- New: Support for starting multiple intents at once.
- Fix: Avoid potential NPE inside
isPhoenixProcessmethod due to Android returning an unexpectednullvalue.
- New:
isPhoenixProcessmethod checks whether the current process belongs to the library. Use this to skip any initialization you would otherwise do for a normal process.
- Minimum SDK version is now set to 4. Sorry Cupcake users!
- Fix: Finish the current activity when triggering rebirth which prevents it from remaining in the backstack if a diffrent activity was started.
- Minimum SDK version is now set to 3.
Initial import and release from gist