diff options
author | 2022-10-22 03:16:31 +0100 | |
---|---|---|
committer | 2022-11-11 14:04:12 +0000 | |
commit | 72a89137e05ea2c0a51cbe2f10a0e953ae1e5f77 (patch) | |
tree | b20da2d28b640b403460d9b0110399fb9f34c6fd /libs/input/PointerController.h | |
parent | 4a18c3e9b1bc98aa9e2f30d963bbd8f4f4adc430 (diff) |
Add dump for PointerController.
Just a simple dump to start, but start pushing more PointerController
information into bugreports.
Bug: 254277939
Test: manually inspect `dumpsys input`
Change-Id: I7ca637aa8a8f1cc1188eddcf694f7c4aea7d5821
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r-- | libs/input/PointerController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index 33480e8fa194..48d5a5756a69 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -27,6 +27,7 @@ #include <map> #include <memory> +#include <string> #include <vector> #include "MouseCursorController.h" @@ -75,6 +76,8 @@ public: void onDisplayInfosChangedLocked(const std::vector<gui::DisplayInfo>& displayInfos) REQUIRES(getLock()); + void dump(std::string& dump); + protected: using WindowListenerConsumer = std::function<void(const sp<android::gui::WindowInfosListener>&)>; |