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

Commit 4da3a94f authored by Jian-Syuan (Shane) Wong's avatar Jian-Syuan (Shane) Wong Committed by Android (Google) Code Review
Browse files

Merge "[VRR] Remove intermittentUpdateState check in setCategoryFromCategoryCounts" into main

parents e0b7812f 6afe0049
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -12900,11 +12900,6 @@ public final class ViewRootImpl implements ViewParent,
                    mFrameRateCategoryHighCount = FRAME_RATE_CATEGORY_COUNT;
        }
        // If it's currently an intermittent update,
        // we should keep mPreferredFrameRateCategory as NORMAL
        if (intermittentUpdateState() == INTERMITTENT_STATE_INTERMITTENT) {
            return;
        }
        if (mFrameRateCategoryHighCount > 0) {
            mPreferredFrameRateCategory = FRAME_RATE_CATEGORY_HIGH;