Add TouchSpotController to PointerController dump.

Bug: 254277939
Test: manually inspect `dumpsys input`
Change-Id: I3a50e13885df90253335f013cda28b5ce9d2def7
This commit is contained in:
Michael Wright
2022-10-28 14:12:24 +01:00
parent 21401ad9c0
commit 20f5fd8744
3 changed files with 38 additions and 0 deletions

View File

@@ -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