Support split resizing while showing floating IME panel

Enable to rezise split screen while showing floating IME panel or
attached with physical keyboard in input mode.

Fix: 269071345
Test: atest WMShellUnitTests
Video: http://recall/-/fLARJNt42LVxc3tt86SneW/fITd3BUUAtmo91u22R3cd0
       http://recall/-/fLARJNt42LVxc3tt86SneW/eFnwHQNgvM7OautAX3N4rP
Change-Id: Ifc9ff0cefbcaaaef598c9ae0fee545bd8ddba486
This commit is contained in:
Jerry Chang
2023-02-21 08:07:13 +00:00
parent 78d12d31d4
commit 10069f460f

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;