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

Commit d95c3121 authored by Tiger Huang's avatar Tiger Huang Committed by Automerger Merge Worker
Browse files

Merge changes Ibc2f40dd,I37fb8ffc into tm-qpr-dev am: dea70726

parents dfa40d2c dea70726
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3066,7 +3066,8 @@ public final class ViewRootImpl implements ViewParent,
                // WindowManagerService has reported back a frame from a configuration not yet
                // handled by the client. In this case, we need to accept the configuration so we
                // do not lay out and draw with the wrong configuration.
                if (!mPendingMergedConfiguration.equals(mLastReportedMergedConfiguration)) {
                if (mRelayoutRequested
                        && !mPendingMergedConfiguration.equals(mLastReportedMergedConfiguration)) {
                    if (DEBUG_CONFIGURATION) Log.v(mTag, "Visible with new config: "
                            + mPendingMergedConfiguration.getMergedConfiguration());
                    performConfigurationChange(new MergedConfiguration(mPendingMergedConfiguration),
@@ -8087,7 +8088,8 @@ public final class ViewRootImpl implements ViewParent,
        final int measuredWidth = mView.getMeasuredWidth();
        final int measuredHeight = mView.getMeasuredHeight();
        final boolean relayoutAsync;
        if (LOCAL_LAYOUT && !mFirst && viewVisibility == mViewVisibility
        if (LOCAL_LAYOUT
                && (mViewFrameInfo.flags & FrameInfo.FLAG_WINDOW_VISIBILITY_CHANGED) == 0
                && mWindowAttributes.type != TYPE_APPLICATION_STARTING
                && mSyncSeqId <= mLastSyncSeqId
                && winConfigFromAm.diff(winConfigFromWm, false /* compareUndefined */) == 0) {