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

Commit 32183f86 authored by Antonio Kantek's avatar Antonio Kantek Committed by Android (Google) Code Review
Browse files

Merge "Delete obsolete TODO in setInTouchMode"

parents 64117cef 1ab71435
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -5012,8 +5012,6 @@ bool InputDispatcher::setInTouchMode(bool inTouchMode, int32_t pid, int32_t uid,
                         ? "not set"
                         : std::to_string(mTouchModePerDisplay[displayId]).c_str());

        // TODO(b/198499018): Ensure that WM can guarantee that touch mode is properly set when
        // display is created.
        auto touchModeIt = mTouchModePerDisplay.find(displayId);
        if (touchModeIt != mTouchModePerDisplay.end() && touchModeIt->second == inTouchMode) {
            return false;