From b43ca03ca3693e8446dcf09d019ed73bf7f1bfc7 Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Wed, 3 Aug 2022 11:58:52 -0700 Subject: [PATCH] Update names for InputClassifier We are renaming InputClassifier to InputProcessor. Update the function names here to match. Bug: 210158587 Test: m Change-Id: Iba13e7d00a955ba1fbb2d71f3e04d75cfcb87685 --- .../jni/com_android_server_input_InputManagerService.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp index 74ed3dfec7baa..891bc0f06f2c6 100644 --- a/services/core/jni/com_android_server_input_InputManagerService.cpp +++ b/services/core/jni/com_android_server_input_InputManagerService.cpp @@ -462,10 +462,10 @@ void NativeInputManager::dump(std::string& dump) { mInputManager->getReader().dump(dump); dump += "\n"; - mInputManager->getUnwantedInteractionBlocker().dump(dump); + mInputManager->getBlocker().dump(dump); dump += "\n"; - mInputManager->getClassifier().dump(dump); + mInputManager->getProcessor().dump(dump); dump += "\n"; mInputManager->getDispatcher().dump(dump); @@ -702,7 +702,7 @@ void NativeInputManager::ensureSpriteControllerLocked() REQUIRES(mLock) { void NativeInputManager::notifyInputDevicesChanged(const std::vector& inputDevices) { ATRACE_CALL(); - mInputManager->getUnwantedInteractionBlocker().notifyInputDevicesChanged(inputDevices); + mInputManager->getBlocker().notifyInputDevicesChanged(inputDevices); JNIEnv* env = jniEnv(); size_t count = inputDevices.size(); @@ -1483,7 +1483,7 @@ PointerIconStyle NativeInputManager::getCustomPointerIconId() { } void NativeInputManager::setMotionClassifierEnabled(bool enabled) { - mInputManager->getClassifier().setMotionClassifierEnabled(enabled); + mInputManager->getProcessor().setMotionClassifierEnabled(enabled); } bool NativeInputManager::isPerDisplayTouchModeEnabled() {