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

Commit f090198c authored by Shane's avatar Shane
Browse files

Replace the value of mPreferredFrameRate with REQUESTED_FRAME_RATE_CATEGORY_DEFAULT

Replace the value of mPreferredFrameRate with REQUESTED_FRAME_RATE_CATEGORY_DEFAULT

Test: atest ViewRootImplTest
Change-Id: I0e8ddbdcf122f0ee21eafa670e4a481ab8630136
parent c1131561
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5629,7 +5629,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    // The preferred frame rate of the view that is mainly used for
    // touch boosting, view velocity handling, and TextureView.
    private float mPreferredFrameRate = Float.NaN;
    private float mPreferredFrameRate = REQUESTED_FRAME_RATE_CATEGORY_DEFAULT;
    private int mInfrequentUpdateCount = 0;
    private long mLastUpdateTimeMillis = 0;