diff options
| author | 2023-04-14 01:03:37 +0000 | |
|---|---|---|
| committer | 2023-04-14 01:03:37 +0000 | |
| commit | d43a6541a3fe13ad22d35a9bcc6830adf278fd7e (patch) | |
| tree | e3929fe8c0ebd03ee980fd930deb8a3dfa05bf03 | |
| parent | 2297912e3ad4fe9a5dacef65187a5956da172e68 (diff) | |
| parent | 7a82f9ab2c566fef65bab717f558b633a7715a79 (diff) | |
Merge changes from topics "NotifyInputDevicesChangedArgs", "dump-from-inputmanager" into udc-dev
* changes:
Dump all native input components from InputManager
Notify InputListener when there an changes to input devices
| -rw-r--r-- | services/core/jni/com_android_server_input_InputManagerService.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp index b01d08c38531..439ad76ced22 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) { @@ -760,7 +750,6 @@ void NativeInputManager::ensureSpriteControllerLocked() REQUIRES(mLock) { void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) { ATRACE_CALL(); - mInputManager->getBlocker().notifyInputDevicesChanged(inputDevices); JNIEnv* env = jniEnv(); size_t count = inputDevices.size(); |