diff options
| author | 2022-08-02 21:15:03 -0400 | |
|---|---|---|
| committer | 2022-08-02 21:15:07 -0400 | |
| commit | fac6505c97b2cc1f8fb02b3fba04131d240e181f (patch) | |
| tree | bbcc91bd489fc9cee5bfe9320c19e816a9f94bd5 /libs/androidfw/StringPool.cpp | |
| parent | 88949ab1fc871f6dced295e4c6edc3db6f163c0c (diff) | |
Don't reset the keyguard on occlusion if it's going away.
The reset() call only executes if the keyguard is visible,
and causes it to reset the visible views (it can not show/hide
the keyguard). However, if the keyguard is going away because
of a launching occluding activity, and was previously insecure,
this will cause us to decide that the views should be in SHADE
state rather than KEYGUARD state, and re-render them accordingly.
This causes the shade to flicker under the launching activity.
This reset is not needed, as the status bar state change will
change to SHADE after the launch animation occurs (or will be
forced back to KEYGUARD if the unlock animation is cancelled).
Fixes: 238294986
Test: launch controls from LS affordance with/without face unlock, with/without AOD
Change-Id: Ib0622655ef6f51e1bcc9a98a5ce8f4e7feacb2fe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions