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

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

Merge "Update ViewRootImplTest votePreferredFrameRate_infrequentLayer_defaultHigh" into main

parents 2ff34520 ac904f68
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1224,11 +1224,8 @@ public class ViewRootImplTest {
        // Infrequent update
        Thread.sleep(delay);

        // Even though this is not a small View, step 3 is triggered by this flag, which
        // brings intermittent to LOW
        int intermittentExpected = toolkitFrameRateBySizeReadOnly()
                ? FRAME_RATE_CATEGORY_LOW
                : FRAME_RATE_CATEGORY_NORMAL;
        // The expected category is normal for intermittent.
        int intermittentExpected = FRAME_RATE_CATEGORY_NORMAL;

        sInstrumentation.runOnMainSync(() -> {
            mView.invalidate();