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

Commit e8c55433 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update TODO bug in setInTouchMode"

parents 8fd90ad3 019eb662
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4920,7 +4920,7 @@ bool InputDispatcher::setInTouchMode(bool inTouchMode, int32_t pid, int32_t uid,
            const sp<IBinder> focusedToken =
                    mFocusResolver.getFocusedWindowToken(mFocusedDisplayId);

            //  TODO(b/198487159): if no window is currently focused, then we need to check the last
            //  TODO(b/218541064): if no window is currently focused, then we need to check the last
            //      interacted window (within 1 second timeout). We should allow touch mode change
            //      if the last interacted window owner's pid/uid match the calling ones.
            if (focusedToken == nullptr) {