diff options
| author | 2016-10-03 16:33:56 +0200 | |
|---|---|---|
| committer | 2016-10-07 15:31:05 +0000 | |
| commit | f20b1428f88fa81dbde0b96236c6f893f838d40d (patch) | |
| tree | 37d5d2b115260accf5794950f7fb8cd6973316f1 /libs/hwui/Texture.cpp | |
| parent | 83410b7f31a6419c0ae5d40aa2234a345406bdcc (diff) | |
Fix dismissing window showing
Only show dismissing window if we are about to unlock, and not just
in all cases. For that, set a flag to true during the process, and
reset the flag after the Keyguard has unlocked.
Test: Have a FLAG_SHOW_WHEN_LOCKED activity that starts a
FLAG_DISMISS_KEYGUARD_ACTIVITY. Check whether window is hidden
when toggling the power button. Make sure that the device is
in a trusted state during the whole test.
Change-Id: I9346dd869d1cf50a42c64a5f7c69f8e24f1e1f9b
Fixes: 31810884
Diffstat (limited to 'libs/hwui/Texture.cpp')
0 files changed, 0 insertions, 0 deletions