Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10069f46 authored by Jerry Chang's avatar Jerry Chang
Browse files

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
parent 78d12d31
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1091,7 +1091,7 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
            // ImePositionProcessor#onImeVisibilityChanged directly in DividerView is not enough
            // ImePositionProcessor#onImeVisibilityChanged directly in DividerView is not enough
            // because DividerView won't receive onImeVisibilityChanged callback after it being
            // because DividerView won't receive onImeVisibilityChanged callback after it being
            // re-inflated.
            // re-inflated.
            mSplitWindowManager.setInteractive(!mImeShown || !mHasImeFocus,
            mSplitWindowManager.setInteractive(!mImeShown || !mHasImeFocus || isFloating,
                    "onImeStartPositioning");
                    "onImeStartPositioning");


            return needOffset ? IME_ANIMATION_NO_ALPHA : 0;
            return needOffset ? IME_ANIMATION_NO_ALPHA : 0;