summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2018-02-16 14:40:42 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-02-21 20:00:33 +0000
commitcce3fc50b4a9f313dd88acb6293b5e2dfeb0496b (patch)
tree1f75f428492e0b24951528b61ba198a0aca3ac75 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6f077314d90636ca50414ba3a6ac6f90c066a588 (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 b1888aa5271e6dc83db538089c1ec97cc61d051c)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions