diff options
author | Andrii Kulian <akulian@google.com> | 2018-02-16 14:40:42 -0800 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2018-02-21 03:34:37 +0000 |
commit | b1888aa5271e6dc83db538089c1ec97cc61d051c (patch) | |
tree | 492fdbfb3846f7dee4e3b173e218147ab9e98cd0 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 52630569a8c4750d42ee695001a5d2b565f35f83 (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
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions