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

Commit ec83250c authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Make sure updateSurface is called for rotation change" into tm-qpr-dev...

Merge "Make sure updateSurface is called for rotation change" into tm-qpr-dev am: 0428d864 am: 52842d58

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



Change-Id: I6ecc0800b43df5dc52e01821f9d6862dcd427e63
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 90211233 52842d58
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1777,7 +1777,7 @@ public final class ViewRootImpl implements ViewParent,
            }
        }

        mForceNextWindowRelayout = forceNextWindowRelayout;
        mForceNextWindowRelayout |= forceNextWindowRelayout;
        mPendingAlwaysConsumeSystemBars = args.argi2 != 0;
        mSyncSeqId = args.argi4 > mSyncSeqId ? args.argi4 : mSyncSeqId;

@@ -5238,6 +5238,9 @@ public final class ViewRootImpl implements ViewParent,
            // the buffers may still have content in previous rotation. And the next draw may
            // not update all regions, that causes some afterimages to flicker.
            mUpdateSurfaceNeeded = true;
            if (!mIsInTraversal) {
                mForceNextWindowRelayout = true;
            }
        }

        Configuration globalConfig = mergedConfiguration.getGlobalConfiguration();