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

Commit 1044430d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add log for when gesture monitor is created" into sc-dev am: 794054ca am: 914e8a6c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14648118

Change-Id: I7a79cb8c31f725f6d4fb94a9dff1293ce7e95b6c
parents 9113103d 914e8a6c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -5141,6 +5141,8 @@ Result<std::unique_ptr<InputChannel>> InputDispatcher::createInputMonitor(int32_
        monitorsByDisplay[displayId].emplace_back(serverChannel, pid);
        monitorsByDisplay[displayId].emplace_back(serverChannel, pid);


        mLooper->addFd(fd, 0, ALOOPER_EVENT_INPUT, new LooperEventCallback(callback), nullptr);
        mLooper->addFd(fd, 0, ALOOPER_EVENT_INPUT, new LooperEventCallback(callback), nullptr);
        ALOGI("Created monitor %s for display %" PRId32 ", gesture=%s, pid=%" PRId32, name.c_str(),
              displayId, toString(isGestureMonitor), pid);
    }
    }


    // Wake the looper because some connections have changed.
    // Wake the looper because some connections have changed.