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

Commit 6b07b723 authored by codeworkx's avatar codeworkx
Browse files

input: fix recents opening when waking the device with the home button without lockscreen

Contributed by Andrea Arcangeli <andrea@cpushare.com>

Change-Id: I8fe581ae51b38b65540eaefba6c051101fd63021
parent 7494abb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,7 +265,7 @@ void InputDispatcher::dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) {
    // Reset the key repeat timer whenever we disallow key events, even if the next event
    // is not a key.  This is to ensure that we abort a key repeat if the device is just coming
    // out of sleep.
    if (!mPolicy->isKeyRepeatEnabled()) {
    if (!mPolicy->isKeyRepeatEnabled() || !mDispatchEnabled) {
        resetKeyRepeatLocked();
    }