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

Commit 1c2df9c5 authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Don't notify insets change while moving invisible IME" into sc-dev

parents 92190ba8 c2b02425
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3699,8 +3699,8 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
        // app.
        // app.
        assignWindowLayers(true /* setLayoutNeeded */);
        assignWindowLayers(true /* setLayoutNeeded */);
        // 3. The z-order of IME might have been changed. Update the above insets state.
        // 3. The z-order of IME might have been changed. Update the above insets state.
        mInsetsStateController.updateAboveInsetsState(
        mInsetsStateController.updateAboveInsetsState(mInputMethodWindow,
                mInputMethodWindow, true /* notifyInsetsChange */);
                mInsetsStateController.getRawInsetsState().getSourceOrDefaultVisibility(ITYPE_IME));
        // 4. Update the IME control target to apply any inset change and animation.
        // 4. Update the IME control target to apply any inset change and animation.
        // 5. Reparent the IME container surface to either the input target app, or the IME window
        // 5. Reparent the IME container surface to either the input target app, or the IME window
        // parent.
        // parent.