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

Commit bbb02f1d authored by Alain Vongsouvanh's avatar Alain Vongsouvanh Committed by Android (Google) Code Review
Browse files

Merge "Make multi presses on power button timeout configurable through overlay."

parents 2925b483 0f63a549
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1328,7 +1328,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                Message msg = mHandler.obtainMessage(MSG_POWER_DELAYED_PRESS,
                        interactive ? 1 : 0, mPowerKeyPressCounter, eventTime);
                msg.setAsynchronous(true);
                mHandler.sendMessageDelayed(msg, ViewConfiguration.getDoubleTapTimeout());
                mHandler.sendMessageDelayed(msg, ViewConfiguration.getMultiPressTimeout());
                return;
            }