Merge "Request hiding IME before starting dismiss biometric UI animation"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f737e0b70c
@@ -775,6 +775,12 @@ public class AuthContainerView extends LinearLayout
|
||||
}
|
||||
mContainerState = STATE_ANIMATING_OUT;
|
||||
|
||||
// Request hiding soft-keyboard before animating away credential UI, in case IME insets
|
||||
// animation get delayed by dismissing animation.
|
||||
if (isAttachedToWindow() && getRootWindowInsets().isVisible(WindowInsets.Type.ime())) {
|
||||
getWindowInsetsController().hide(WindowInsets.Type.ime());
|
||||
}
|
||||
|
||||
if (sendReason) {
|
||||
mPendingCallbackReason = reason;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user