summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2020-08-05 12:50:03 -0700
committer Alec Mouri <alecmouri@google.com> 2020-08-07 20:59:20 +0000
commitc080030e715082f7a910066bbcd8cc7a3a8500eb (patch)
treed6579862669cfd5249a433405726603cf77412f4 /libs/input/KeyLayoutMap.cpp
parent140f65189fd2aaa43bc991556a9678a4ff981731 (diff)
Fix refresh rate callback fan-out for choreographer
* AChoreographer receives refresh rates from DisplayManager already, so there's no need to default-enable them - AChoreographer only needs to pump an event with the latest refresh rate to wake up looper. This also ensures that AChoreographer's callbacks are entirely in-sync with DisplayManager since there's no raciness. * Instead of re-requesting a config change from SF, instead inject it in AChoreographer correctly to save on binder. Bug: 154874011 Bug: 158680912 Bug: 161406626 Test: while [ true ]; do adb shell service call SurfaceFlinger 1035 i32 1; adb shell service call SurfaceFlinger 1035 i32 0; and repeatedly rotate the home screen with auto-rotate off. Change-Id: I66abc2e28e60f06987ce3a54be294c94b77524fc Merged-In: I66abc2e28e60f06987ce3a54be294c94b77524fc
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions