How to test code built to save/restore Lifecycle of an Activity?

后端 未结 5 1457
醉话见心
醉话见心 2020-12-13 09:01

How can I test all of the following methods code? I want to play scenarios when all of them are happening to see if my code works for save/restore process of an activity. So

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 09:14

    We had an issue whereby re-launching an app after long periods of inactivity crashed. We found that "Don't keep activities" wasn't reproducing the issue, but Background process settings :: No background processes in Dev Settings did (even while debugging).

提交回复
热议问题