diff options
| author | 2024-04-29 20:48:20 +0000 | |
|---|---|---|
| committer | 2024-04-29 23:53:37 +0000 | |
| commit | 40bfa7307ca8374b77074b8cfb0b249f8947dfa8 (patch) | |
| tree | d848d151c9d0ff31c5260d058533ce278e0ae36e /libs/androidfw/ZipFileRO.cpp | |
| parent | 6771c294cc8d0e423160afffd172c3ff9b0efa93 (diff) | |
[dVRR] Allow the intermittent update to set frame rate category to
NORMAL immediately
Some Views could vote in a very low frequency (e.g., YouTube Short).
With such use case, it would take a while for the ViewRootImpl to set the frame rate category to Normal since we need to wait for mFrameRateCategoryHighCount and mFrameRateCategoryHighHintCount to be 0
before we can set frame rate category to NORMAL.
This CL allows the intermittent update to set frame rate category to NORMAL immediately. Since we have a relatively restricted criteria to detect intermittent update, it's less like to expect the frame frate category fluctuation
after this change.
Bug: 337933990
Test: atest ViewRootImplTest / atest ViewFrameRateTest
Change-Id: I2a61977fa892a12900f60f27a062614e9cca407f
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions