How to Simulate Process Death in Android?
There are 2 types of process death in Android:
System-initiated Process Death
User-initiated Process Death
System-initiated process death means the process is killed by the Android operating system. It could be due to resource constraints (not enou...
vtsen.hashnode.dev5 min read
Stefano Bozzoni
Android developer engineer
Note that, i personally tried, if you are on emulator and with the application in background, adb shell am kill will work as expected. Not tried on a physical device but i suppose it is going to work the same.