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

Skip to content
Commit add71ca5 authored by Shane's avatar Shane
Browse files

[VRR] Reset frame rate category as DEFAULT

Reset frame rate category as DEFAULT in ViewRootImpl.performtraversals() so that we won't call setFrameRateCategory if no Views vote for a category. Also, Views can also vote for NO_PREFERENCE now.

Moreover, update the required Flag in some of the test in ViewRootImplTest
from FLAG_TOOLKIT_FRAME_RATE_FUNCTION_ENABLING_READ_ONLY to FLAG_TOOLKIT_FRAME_RATE_VIEW_ENABLING_READ_ONLY

Bug: 334114192
Test: atest ViewRootImplTest / ViewFrameRateTest
Change-Id: I4894d3462db329ef852f944e8a1b2bbf18b2bab6
parent 7c198201
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment