diff options
author | 2022-10-28 14:12:24 +0100 | |
---|---|---|
committer | 2022-11-11 14:04:13 +0000 | |
commit | 20f5fd8744b5f57bc3e8e72e0fe1be94b5297f52 (patch) | |
tree | 19a7797f0e646914255b237421e779df10d7dbfe /libs/input/PointerController.cpp | |
parent | 21401ad9c017b49614743b16164ef4dba5899563 (diff) |
Add TouchSpotController to PointerController dump.
Bug: 254277939
Test: manually inspect `dumpsys input`
Change-Id: I3a50e13885df90253335f013cda28b5ce9d2def7
Diffstat (limited to 'libs/input/PointerController.cpp')
-rw-r--r-- | libs/input/PointerController.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/input/PointerController.cpp b/libs/input/PointerController.cpp index 1f80ba9baa68..099efd3a1a2f 100644 --- a/libs/input/PointerController.cpp +++ b/libs/input/PointerController.cpp @@ -331,6 +331,10 @@ void PointerController::dump(std::string& dump) { for (const auto& info : mLocked.mDisplayInfos) { info.dump(dump, INDENT3); } + dump += INDENT2 "Spot Controllers:\n"; + for (const auto& [_, spotController] : mLocked.spotControllers) { + spotController.dump(dump, INDENT3); + } } } // namespace android |