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

Commit f213e437 authored by Matt Pietal's avatar Matt Pietal
Browse files

Remove SOFT_INPUT_ADJUST_RESIZE flag

It's been deprecated in favor of each window handling its own
insets. Which we already do for the IME. Per IME team, this was
triggering a path that would auto-show the soft input.

So let's not do that.

Fixes: 247957195
Test: manual, following steps listed in bug
Change-Id: I997dee193ed1150a531c1cc32f79d7beba0d1021
parent 8f775f2a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -246,7 +246,6 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
        mLp.token = new Binder();
        mLp.gravity = Gravity.TOP;
        mLp.setFitInsetsTypes(0 /* types */);
        mLp.softInputMode = LayoutParams.SOFT_INPUT_ADJUST_RESIZE;
        mLp.setTitle("NotificationShade");
        mLp.packageName = mContext.getPackageName();
        mLp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
@@ -384,8 +383,6 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
            mLpChanged.flags |= LayoutParams.FLAG_NOT_FOCUSABLE;
            mLpChanged.flags &= ~LayoutParams.FLAG_ALT_FOCUSABLE_IM;
        }

        mLpChanged.softInputMode = LayoutParams.SOFT_INPUT_ADJUST_RESIZE;
    }

    private void applyForceShowNavigationFlag(State state) {