Skip to content
Commit 6b80f7c4 authored by Matt Pietal's avatar Matt Pietal
Browse files

Fix shade collapse on keyguard with bypass enabled

Only with face unlock + bypass enabled, when dragging down the shade
over keyguard, the end motion event was forcing the shade to collapse
again, due to an incorrect check on the keyguard state. Use the
KeyguardStateController.isShowing() method instead, which is a more
accurate check on keyguard state.

Fixes: 242813247
Test: All combinations of face unlock enabled/disabled, notifications
visible on lockscreen on/off, notification redacted on/off, face
bypass on/off

Merged-In: I99c6ced66f3269dbf4e6df1d078d7c793492c157
Change-Id: I827128fc5f57a24eee5110f5c2b8ccb697a7f821
parent 97cf25f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment