Skip to content
Commit 1ee7293d authored by Matt Pietal's avatar Matt Pietal
Browse files

Password bouncer landscape fix

For the password security method, in order to provide a smoother
experience when closing the bouncer and transitioning to the home
screen, we tightly control ime insets animations. However, in
landscape mode, this request is denied which produces an immediate
call to onCancelled(). This leaves the bouncer up while unlocking the
phone (yikes), and leaves the user no way to get rid of the keyguard
until the screen is powered off.

If the call to control insets is denied, issue the finish callbacks to
ensure that downstream consumers know the bouncer is complete.

Fixes: 194782889
Test: manual - From lockscreen with password security method,
double-tap power to open camera, rotate to landscape, and hit the lock icon

Change-Id: Id34fb8932642b06b089f460713daed1d9a9fe6fa
parent b8364adc
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