diff options
| author | 2024-04-12 03:15:09 +0000 | |
|---|---|---|
| committer | 2024-04-12 18:28:49 +0000 | |
| commit | add71ca53ebbe581f89af21d23dfc9c11ee33c7b (patch) | |
| tree | 258a94d22c01b0cadc727eb8b619508cc435a312 /libs/androidfw/StringPool.cpp | |
| parent | 7c198201e56e5f4c5f35d7b19740dce68522c15c (diff) | |
[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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions