diff options
author | 2023-06-09 23:39:15 +0000 | |
---|---|---|
committer | 2023-08-24 17:12:34 +0000 | |
commit | c220018c1da4b888b31943c20d87a026d9477a1e (patch) | |
tree | d0aa73c4b81c47ca2628eb2e320d5c5f66e65c61 /libs/input/PointerController.h | |
parent | 1700e61f4fd9b66c92b5a5a21bb0382c251c9419 (diff) |
Introduce PointerChoreographer stage in C++
PointerChoreographer will be the new inputflinger component responsible
for managing the pointer icons drawn on the screen.
In this CL, we set up the PointerChoreographer, which will be created
when the choreographer is enabled.
Bug: 293587049
Bug: 278783893
Test: adb shell setprop persist.input.enable_pointer_choreographer 1;
boot
Change-Id: Ib6b124db4108d11260b220cc57444007b9d865a6
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r-- | libs/input/PointerController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index c7e772d79dc4..01748a8bb709 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -70,7 +70,7 @@ public: void setInactivityTimeout(InactivityTimeout inactivityTimeout); void doInactivityTimeout(); void reloadPointerResources(); - void onDisplayViewportsUpdated(std::vector<DisplayViewport>& viewports); + void onDisplayViewportsUpdated(const std::vector<DisplayViewport>& viewports); void onDisplayInfosChangedLocked(const std::vector<gui::DisplayInfo>& displayInfos) REQUIRES(getLock()); |