summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.h
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2023-05-01 11:30:37 -0500
committer Patrick Williams <pdwilliams@google.com> 2023-05-03 15:43:05 -0500
commit8e47a6767140d067ccc9f9b41d62ff6f924de3ed (patch)
tree57d521742cbfedb88e75cc5e0754387a9c66d2e3 /libs/input/PointerController.h
parent326dd9c1156475192444fd6807155b96e42cc74c (diff)
Add vsync id and timestamp to WindowInfosListener
Bug: 279792237 Test: presubmits Change-Id: I6396800fe7673f592a79c0e9a9f43f68c6443300
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r--libs/input/PointerController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h
index ca14b6e9bfdc..62ee74331302 100644
--- a/libs/input/PointerController.h
+++ b/libs/input/PointerController.h
@@ -19,6 +19,7 @@
#include <PointerControllerInterface.h>
#include <gui/DisplayEventReceiver.h>
+#include <gui/WindowInfosUpdate.h>
#include <input/DisplayViewport.h>
#include <input/Input.h>
#include <utils/BitSet.h>
@@ -114,8 +115,7 @@ private:
class DisplayInfoListener : public gui::WindowInfosListener {
public:
explicit DisplayInfoListener(PointerController* pc) : mPointerController(pc){};
- void onWindowInfosChanged(const std::vector<android::gui::WindowInfo>&,
- const std::vector<android::gui::DisplayInfo>&) override;
+ void onWindowInfosChanged(const gui::WindowInfosUpdate&) override;
void onPointerControllerDestroyed();
// This lock is also used by PointerController. See PointerController::getLock().