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
1 file changed