summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jerry Chang <chenghsiuchang@google.com> 2023-02-21 08:07:13 +0000
committer Jerry Chang <chenghsiuchang@google.com> 2023-02-21 08:17:46 +0000
commit10069f460f84769fc5be13d0e7944a83f3f13ac9 (patch)
tree34cee9754705016e476dff365bd1d1d4df9502a3
parent78d12d31d46c043f6a2acf13333c68af21f388bf (diff)
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
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java b/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
index f616e6f64750..8a18271b029a 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
@@ -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;