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

Commit 22097a09 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by Android (Google) Code Review
Browse files

Merge "Add dump for UnwantedInteractionBlocker"

parents 9f5885bb 16769947
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ cc_defaults {
        "libappfuse",
        "libbinder_ndk",
        "libbinder",
        "libchrome",
        "libcutils",
        "libcrypto",
        "liblog",
+4 −0
Original line number Diff line number Diff line
@@ -457,6 +457,9 @@ void NativeInputManager::dump(std::string& dump) {
    mInputManager->getReader().dump(dump);
    dump += "\n";

    mInputManager->getUnwantedInteractionBlocker().dump(dump);
    dump += "\n";

    mInputManager->getClassifier().dump(dump);
    dump += "\n";

@@ -704,6 +707,7 @@ void NativeInputManager::ensureSpriteControllerLocked() REQUIRES(mLock) {

void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) {
    ATRACE_CALL();
    mInputManager->getUnwantedInteractionBlocker().notifyInputDevicesChanged(inputDevices);
    JNIEnv* env = jniEnv();

    size_t count = inputDevices.size();