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

Commit 3bf1d949 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Include forceReport in conditions for seq-id increment" into main

parents 748d8d0d e1618ffa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -123,6 +123,13 @@ public class WindowFrames {
        return mFrameSizeChanged || didFrameSizeChange();
    }

    /**
     * @return true if a resize report is currently required.
     */
    boolean isForceReportingResized() {
        return mLastForceReportingResized;
    }

    /**
     * Resets the size changed flags so they're all set to false again. This should be called
     * after the frames are reported to client.
+1 −0
Original line number Diff line number Diff line
@@ -3760,6 +3760,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                mSyncSeqId = mBufferSeqId;
            } else if (!mLastConfigReportedToClient
                    || mWindowFrames.isFrameSizeChanged()
                    || mWindowFrames.isForceReportingResized()
                    || mSyncState == SYNC_STATE_WAITING_FOR_DRAW) {
                ++mSyncSeqId;
            }