Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b43ca03c authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Update names for InputClassifier

We are renaming InputClassifier to InputProcessor. Update the function
names here to match.

Bug: 210158587
Test: m
Change-Id: Iba13e7d00a955ba1fbb2d71f3e04d75cfcb87685
parent 972afec9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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<InputDeviceInfo>& 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() {