diff options
author | Andrii Kulian <akulian@google.com> | 2018-02-16 14:40:42 -0800 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-02-20 20:52:33 +0000 |
commit | facc41938ebcf7a12c6cd88eff6a311a306dba81 (patch) | |
tree | 7fc311bb2baa33997d1d76c2a384c9bb853ed3a9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ac447cbaf391cccb5ab1c2b1d75a2d0f4d1858f4 (diff) |
Don't resume until keyguard is gone
If we try to resume top activity immediately after we remove
the sleep token and something else in the system will call
ActivityStackSupervisor#ensureActivitiesVisibleLocked(), then
the activity will be immediately stopped. This not only introduces
an extra unnecessary cycle, but also leads to other with
activities ending in a wrong state or cycling through states
indefinitely.
Bug: 73003134
Bug: 73062280
Bug: 71582913
Test: Launch an app or go to launcher, lock and unlock, observe lifecycle logs.
Change-Id: Ic0117a55e27c8a67de4ce24ca349bc842d356093
(cherry picked from commit 97f5a016e1c004de0b76915ca33fe3abe8e19f24)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions