Merge "Compare with oldSoftInputMode after restoring softInputMode" into rvc-qpr-dev

This commit is contained in:
Tiger Huang
2020-09-02 10:32:44 +00:00
committed by Android (Google) Code Review

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();
}