commit | 067dd921bf3b55e7d2409223ddfc7b4c2b5e1b40 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Fri May 03 10:25:41 2024 -0700 |
committer | George Mount <mount@google.com> | Thu May 09 09:44:16 2024 -0700 |
tree | 518e796360ac0f80ffcae7f98b238cb091ab4aa2 | |
parent | 025d7cd89c359b99a5cf45c7afb4e80d9bc084d7 [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