summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-03-15 10:39:12 -0700
committerBryce Lee <brycelee@google.com>2018-03-15 14:23:04 -0700
commit271617af8300fcc481e83070d0ed874ac5b89692 (patch)
treef3db9b4cfd0119614978aa78682d3aca6e783481 /libs/hwui/renderthread/RenderThread.cpp
parenta46e4d105905c255af66530c81d93bb71531df46 (diff)
Do not sleep activities in focused stack when keyguard is going away
ActivityStack#shouldSleepActivities reports back whether we should put activities in stack to sleep based on the display state. We should also consider the keyguard state, as it's possible for a stack to become visible as the keyguard is disappearing, but before the display has reported on, such as when we're unlocking by fingerprint. In this case, sleeping will lead to an extraneous and incorrect lifecycle shift to stop. Change-Id: I0f0c8bc90093bf636e5ba9ddce7046da631248b0 Fixes: 74603384 Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testShouldSleepActivities
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions