diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-05-20 17:20:40 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-05-21 21:20:14 +0000 |
commit | 7d85ea93e951dc1dd82e7879e0399c56d116f231 (patch) | |
tree | 3e20aa84194c7dcbba68dd1670c3acd263f2051c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | eb8f11a8657a1509d6c00b3c6f34547f803bbe67 (diff) |
Always tell Keyguard about occluded state
If there was a window with FLAG_DISMISS_KEYGUARD first, when the
device was unlocked, mWinDismissingKeyguard was set to that window.
Now, a window with FLAG_SHOW_WHEN_LOCKED came on top, so we set the
Keyguard as occluded, but we didn't reset the window that is
dismissing Keyguard.
After that, the old window with FLAG_DISMISS_KEYGUARD was the focused
window again. However, since we didn't reset mWinDismissingKeyguard,
we ended up with DISMISS_KEYGUARD_CONTINUE, and lockscreen was not
occluded anymore. However, we never really told Keyguard about it
because DISMISS_KEYGUARD_CONTINUE was set instead of
DISMISS_KEYGUARD_START.
The first fix of this bug is to always tell Keyguard about the
current occluded state. The second fix is to reset
mWinDismissingKeyguard in case a window SHOW_WHEN_LOCKED comes on top.
Bug: 20102975
Change-Id: I7c778df09a1e393b9eeaf51fd2013012cb40fea9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions