commit | fc8ab26162d5bc1ce6b03fc66c74f55d8a0e813d | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Dec 31 15:31:24 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Jan 06 10:27:00 2020 +0000 |
tree | fca30f4c9aa3ec1f7ce94e923926af8e1296b03a | |
parent | fbe8eca9ed225503da536bcef32d7191d95f160f [diff] |
Refactor reporting activity idle - Separate the logic of stopping and finishing from idle. - Correct the condition of stop profiling from idle. - Remove the resuming of focused stack if an activity is removed while idle, because if idle is scheduled or reported, the next focused activity should be ready to show, then the resuming from background destruction is a no-op. Bug: 130340090 Test: atest ActivityLifecycleTests Change-Id: Iabccc26f40c8cbccb8e4a260d8aff84322193f2b