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

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

Merge "Let single tap devices wake up with double tap"

parents 465c5911 3bab3d86
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -114,17 +114,19 @@ public class StatusBarWindowView extends FrameLayout {
            if (mSingleTapEnabled) {
                mService.wakeUpIfDozing(SystemClock.uptimeMillis(), StatusBarWindowView.this,
                        "SINGLE_TAP");
                return true;
            }
            return mSingleTapEnabled;
            return false;
        }

        @Override
        public boolean onDoubleTap(MotionEvent e) {
            if (mDoubleTapEnabled) {
            if (mDoubleTapEnabled || mSingleTapEnabled) {
                mService.wakeUpIfDozing(SystemClock.uptimeMillis(), StatusBarWindowView.this,
                        "DOUBLE_TAP");
                return true;
            }
            return mDoubleTapEnabled;
            return false;
        }
    };
    private final TunerService.Tunable mTunable = (key, newValue) -> {