Merge "Only force layout legacy apps with SOFT_INPUT_ADJUST_RESIZE" into sc-dev am: d938189165
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13517005 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4376481068d84c5de2a2708b6004ac8246384e7f
This commit is contained in:
@@ -1675,7 +1675,8 @@ public final class ViewRootImpl implements ViewParent,
|
||||
requestLayout();
|
||||
|
||||
// See comment for View.sForceLayoutWhenInsetsChanged
|
||||
if (View.sForceLayoutWhenInsetsChanged && mView != null) {
|
||||
if (View.sForceLayoutWhenInsetsChanged && mView != null
|
||||
&& mWindowAttributes.softInputMode == SOFT_INPUT_ADJUST_RESIZE) {
|
||||
forceLayout(mView);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user