summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author George Mount <mount@google.com> 2024-05-03 10:25:41 -0700
committer George Mount <mount@google.com> 2024-05-09 09:44:16 -0700
commit067dd921bf3b55e7d2409223ddfc7b4c2b5e1b40 (patch)
tree518e796360ac0f80ffcae7f98b238cb091ab4aa2 /libs/androidfw/StringPool.cpp
parent025d7cd89c359b99a5cf45c7afb4e80d9bc084d7 (diff)
[VRR] Clear frame rate and category after 250ms idle
Fixes: 338586840 An idle app won't change its category or frame rate while idle. Howver, that app will still vote with SurfaceFlinger if it is on screen, even if ocluded. This CL adds a timeout of 250ms for detecting idle time. If the time has passed without drawing, the category and frame rate will reset. Test: new test, manual testing Change-Id: Ifc6d81ee8ed97dad7dc9ed5d9a856149a40d8584
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions