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

Commit d9381891 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only force layout legacy apps with SOFT_INPUT_ADJUST_RESIZE" into sc-dev

parents 419f4eeb 39d15f92
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1675,7 +1675,8 @@ public final class ViewRootImpl implements ViewParent,
        requestLayout();
        requestLayout();


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