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
This commit is contained in:
Matt Pietal
2022-11-17 20:39:51 +00:00
parent 8f775f2a9f
commit f213e437e5

View File

@@ -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) {