summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-04-06 00:04:15 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-04-06 00:04:15 +0000
commit7a82f9ab2c566fef65bab717f558b633a7715a79 (patch)
treec1679e3e2b49304cb95fb37afb18ff0b403d855f
parent9693d40ed15336cb03bf414ff4e3495ed038ca51 (diff)
Dump all native input components from InputManager
This makes it so that we don't have to expose all native components to NativeInputManager just to dump them. This also means we no longer have to expose the UnwantedInteractionBlocker to NativeInputManager. Bug: 275726706 Test: build Change-Id: Ibf12b6774e3f8e2bc9cbcb54706030aa70ad4e59
-rw-r--r--services/core/jni/com_android_server_input_InputManagerService.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp
index 553ea0d87c8e..1510bd037a54 100644
--- a/services/core/jni/com_android_server_input_InputManagerService.cpp
+++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -485,17 +485,7 @@ void NativeInputManager::dump(std::string& dump) {
}
dump += "\n";
- mInputManager->getReader().dump(dump);
- dump += "\n";
-
- mInputManager->getBlocker().dump(dump);
- dump += "\n";
-
- mInputManager->getProcessor().dump(dump);
- dump += "\n";
-
- mInputManager->getDispatcher().dump(dump);
- dump += "\n";
+ mInputManager->dump(dump);
}
bool NativeInputManager::checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) {