The android: name="MainActivity", "
Android: process="com. Test. Apptask"
Android: launchMode="singleTask"
Android: allowTaskReparenting="true"
Android: alwaysRetainTaskState="true"
Android: taskAffinity="MainActivity" & gt;
The android: name=". TestActivity "
Android: process=": test"
Android: launchMode="singleTask"
Android: allowTaskReparenting="true"
Android: alwaysRetainTaskState="true"
Android: taskAffinity=". TestActivity "/& gt;
I open the main application (MainActivity), and then open the TestActivity, I press the home to return to the main interface, the recently opened the application, it is there will be two Task stack, when removing the TestActivity corresponding Task main process were closed
CodePudding user response:
Has been tested as part of the mobile phone can't, now, millet and se, millet 4 lte performance such as normal