Merge "Support split resizing while showing floating IME panel" into udc-dev

This commit is contained in:
Jerry Chang
2023-02-24 03:43:30 +00:00
committed by Android (Google) Code Review

View File

@@ -1091,7 +1091,7 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
// ImePositionProcessor#onImeVisibilityChanged directly in DividerView is not enough
// because DividerView won't receive onImeVisibilityChanged callback after it being
// re-inflated.
mSplitWindowManager.setInteractive(!mImeShown || !mHasImeFocus,
mSplitWindowManager.setInteractive(!mImeShown || !mHasImeFocus || isFloating,
"onImeStartPositioning");
return needOffset ? IME_ANIMATION_NO_ALPHA : 0;