Android test "destroys activity to save space"

Since our application users report some crashes due to the restored actions, I would like to check this.

Is it possible to manually force Android to destroy the current (background) activity to save space?

+4
source share
2 answers

See the official Dev Tools application in the emulator, and if you master a device working at the system level 4+, there will be a system settings area designated as β€œdevelopment”, under which a checkbox is selected to kill actions as soon as they are suspended.

+5
source

Did I try to clear the android stack from FLAG_ACTIVITY_CLEAR_TOP?

Check link

0
source

All Articles