I am trying to simulate "Process Death" in my Android Studio and have done the following steps:
- Changed Background process limit in emulator
Test app has Application class, MainActivity and Activity2 with just layout. Run the app and open Activity2.
Press home button and open more than 5 other apps.
Check attatch to debugger and no process exists.
I expected I would see the Activity2 but the app starts thorugh normal process and I was able to the application class started and MainActivity only shown.
Am I missing something to reproduce process death? Quite confused with this.
Thanks in advance with your help.


