summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdy Abraham <adyabr@google.com>2021-01-07 18:00:49 -0800
committerAdy Abraham <adyabr@google.com>2021-01-27 23:02:38 +0000
commitaa47a68239c4c691359bd962b379a8773f3bbc75 (patch)
tree8935c509087ae18c5fbf84fa98890c79f5ef62ce /tools/aapt2/java/JavaClassGenerator.cpp
parent9ce7fe21528450722379660cd8f7b1a4aca67672 (diff)
Use setFrameRate for high refresh rate deny list
Add visibility to SurfaceFlinger into the high refresh rate deny list and let SurfaceFlinger handle it. Previously WM was setting the preferredDisplayModeId on the denied app's window. The old way prevented SurfaceFlinger to use the frame rate override feature as it didn't know that a specific app is causing the refresh rate spec to be limited. With this change, SurfaceFlinger will limit the display refresh rate based on the high refresh rate deny list, and if possible, will use the frame rate override feature to change the display rate to a multiple, allowing other animations to be smooth while the denied app remains in the low refresh rate. Bug: 170502573 Test: manual Change-Id: Ib75a3c229cea298b65aa56dc1c1b20ca016059c4 Merged-In: Ib75a3c229cea298b65aa56dc1c1b20ca016059c4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions