summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-05-30 16:16:01 -0700
committerJorim Jaggi <jjaggi@google.com>2017-06-01 11:56:59 -0700
commit45ca0544ea03e04d1ecb11640484818fe2838c28 (patch)
treeb52ca99e6e1e30a5aaf7c9996c7a8f7dfac5f7b5 /libs/hwui/ProgramCache.cpp
parent7b64dbd5299b7300879c0f31c25a4f1013b90eb2 (diff)
Fix camera launch delay from Keyguard
When we launch the camera from the lockscreen, we launch a trampoline activity that launches a real activity. Now, under certain race conditions the trampoline activity was resumed but then set to invisible immediately again such that the window was never relayouted. Thus, the activity was stuck in WAITING_RELAYOUT state in UnknownAppVisibilityController, leading to a app transition timeout. To fix this, we immediately remove the app from the unknown visibility controller as soon as it gets set to invisible again. Test: Set animation scale multiplier to 0, open camera, finish activity by pressing back, turn off screen, launch camera via double tap, observe no delay. Test: go/wm-smoke Fixes: 37677242 Change-Id: I103a89af5fb515d6635f86abe2c67a02d90abd79
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions