Prevent Activity Stack from being Restored?

后端 未结 5 568
有刺的猬
有刺的猬 2020-12-02 20:48

When an application\'s process is killed, its activity stack is saved. Then when the application is restarted, all my activities resume and run into null pointers. Rather th

5条回答
  •  猫巷女王i
    2020-12-02 21:14

    Is this something one should take into account when dealing with native Android tools, or is this an issue brought up by third party task killers? At least on emulator using "force stop" seems to reset activity stack - which is something I've expected to happen always when application dies.

提交回复
热议问题