- New: Support restarting
Service
s withtriggerServiceRebirth
. - New: Restart an
Activity
with only aClass
reference. - Change:
ProcessPheonix
class 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=false
to 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
BuildConfig
class is no longer included.
- New: Support for starting multiple intents at once.
- Fix: Avoid potential NPE inside
isPhoenixProcess
method due to Android returning an unexpectednull
value.
- New:
isPhoenixProcess
method 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