summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Shane <shanewong@google.com> 2024-05-01 09:17:23 +0000
committer Jian-Syuan (Shane) Wong <shanewong@google.com> 2024-05-01 17:15:25 +0000
commitd810a6174f4eb6a8625b10bb2e7b39e649bd897d (patch)
tree2a5a97888c30bad7794c17e264ee39bd3d3cc5b2 /libs/androidfw/StringPool.cpp
parente11d5f30741b4b6cdf72f108a3fbf412e09bf977 (diff)
[dVRR] Call updateInfrequentCount after setCategoryFromCategoryCounts
In some use cases, the intermittent update state could be updated right after Views vote that causes inconsistency between the voted category and the category that is sent to SurfaceFlinger. This Cl moves updateInfrequentCount after setCategoryFromCategoryCounts to avoid that. Although we need one more frame to change the intermittent update state, we can now ensure the consistency. Fixes: 338173334 Test: atest ViewRootImplTest / atest ViewFrameRateTest` Change-Id: I8eb775a45eb7bc5d3cb4a0f759525228296203dd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions