Merge "Compare with oldSoftInputMode after restoring softInputMode" into rvc-qpr-dev am: 6a1829d14a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12500989

Change-Id: Ib564e3608b0faf9915f7eb8ca940651ecb4e7184
This commit is contained in:
Tiger Huang
2020-09-02 17:45:49 +00:00
committed by Automerger Merge Worker

View File

@@ -1456,7 +1456,7 @@ public final class ViewRootImpl implements ViewParent,
| (oldSoftInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST);
}
if ((changes & LayoutParams.SOFT_INPUT_MODE_CHANGED) != 0) {
if (mWindowAttributes.softInputMode != oldSoftInputMode) {
requestFitSystemWindows();
}