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

Commit 38622fde authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Refine the condition about force layout" into sc-dev am: 1284ffd3

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice9086542b13aff4f7bf0baf436f461a1bff6715
parents 7f9e796a 1284ffd3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1677,7 +1677,8 @@ public final class ViewRootImpl implements ViewParent,

        // See comment for View.sForceLayoutWhenInsetsChanged
        if (View.sForceLayoutWhenInsetsChanged && mView != null
                && mWindowAttributes.softInputMode == SOFT_INPUT_ADJUST_RESIZE) {
                && (mWindowAttributes.softInputMode & SOFT_INPUT_MASK_ADJUST)
                        == SOFT_INPUT_ADJUST_RESIZE) {
            forceLayout(mView);
        }