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

Commit 91a768c7 authored by codeworkx's avatar codeworkx Committed by Janson Kang
Browse files

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

Port from ics
http://review.cyanogenmod.com/#/c/18584/

Change-Id: I354ace2a3b37bd336d2806b941f779538bc96c74
parent 76320c18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,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();
    }