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

Commit 8a13964f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use bind_front instead of lambda when passing a member function" into main

parents 910a2d48 8a69ace0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2713,7 +2713,8 @@ InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime, const Motio
    {
        std::vector<TouchedWindow> hoveringWindows =
                getHoveringWindowsLocked(oldState, tempTouchState, entry,
                                         [this]() REQUIRES(mLock) { logDispatchStateLocked(); });
                                         std::bind_front(&InputDispatcher::logDispatchStateLocked,
                                                         this));
        // Hardcode to single hovering pointer for now.
        std::bitset<MAX_POINTER_ID + 1> pointerIds;
        pointerIds.set(entry.pointerProperties[0].id);