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

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

Merge "Do not fade pointer icon on every key press."

parents e402b5fc d84e646d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2322,10 +2322,6 @@ void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode,
        policyFlags |= POLICY_FLAG_DISABLE_KEY_REPEAT;
    }

    if (down && !isMetaKey(keyCode)) {
        getContext()->fadePointer();
    }

    NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
            down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP,
            AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, keyMetaState, downTime);