summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdy Abraham <adyabr@google.com>2021-06-07 20:22:41 -0700
committerAdy Abraham <adyabr@google.com>2021-06-11 15:30:13 +0000
commit71b626759930963ff2a272dcc6ab732a874e1864 (patch)
treee510aa19f53a557303e2bf49c469069bfe38432f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent70dedcf388ac89843ea097f8262567c88e789e43 (diff)
DisplayManagerGlobal: suppress redundant AChoreographer_refreshRateCallback calls
With Frame Rate Override enabled, an app could get an AChoreographer_refreshRateCallback callbacks which seem redundant. An example would be: 1. Display changed refresh rate to 60Hz - callback 2. App's frame rate override changed to 60Hz - callback To avoid sending these redundant callbacks, DisplayManagerGlobal caches the last DisplayInfo that was reported to the app and based on it, it decides whether to send the event or not. Bug: 184588343 Bug: 189174620 Test: atest SetFrameRateTest Test: atest FrameRateOverrideHostTest Test: atest ChoreographerNativeTest Change-Id: Ia0278e98d06bc790810c31dcda8244181e8e1d5d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions