diff options
author | 2024-08-25 17:49:32 +0000 | |
---|---|---|
committer | 2024-09-02 08:54:15 +0000 | |
commit | 05215aff63eac433ccc2ec618146fad27675e877 (patch) | |
tree | c4840dcb3bfd9ce7ea504173c708bbeaba35ab67 /libs/input/PointerController.cpp | |
parent | a9567c6b852b0c9cc0696229d660306a1c6c855d (diff) |
Add CursorController to the input dump
Test: manually validate `adb shell dumpsys input`
Bug: 245989146
FLAG: EXEMPT log only update
Change-Id: Ibab15f613e3076df2ac2ac2e672ce9e699de7f67
Diffstat (limited to 'libs/input/PointerController.cpp')
-rw-r--r-- | libs/input/PointerController.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/input/PointerController.cpp b/libs/input/PointerController.cpp index 11b27a214984..5ae967bc369a 100644 --- a/libs/input/PointerController.cpp +++ b/libs/input/PointerController.cpp @@ -25,6 +25,7 @@ #include <android-base/stringprintf.h> #include <android-base/thread_annotations.h> #include <ftl/enum.h> +#include <input/PrintTools.h> #include <mutex> @@ -353,6 +354,8 @@ std::string PointerController::dump() { for (const auto& [_, spotController] : mLocked.spotControllers) { spotController.dump(dump, INDENT3); } + dump += INDENT2 "Cursor Controller:\n"; + dump += addLinePrefix(mCursorController.dump(), INDENT3); return dump; } |