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

Commit e7d558a5 authored by Altaf-Mahdi's avatar Altaf-Mahdi Committed by Steve Kondik
Browse files

SystemUI: reduce vibration time on double press power for camera

Change-Id: Ib1977563cdae0190fffa1267b56e951d06547db5
parent 2b74aee1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4538,7 +4538,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,

    private void vibrateForCameraGesture() {
        // Make sure to pass -1 for repeat so VibratorService doesn't stop us when going to sleep.
        mVibrator.vibrate(new long[] { 0, 750L }, -1 /* repeat */);
        mVibrator.vibrate(new long[] { 0, 250L }, -1 /* repeat */);
    }

    public void onScreenTurnedOn() {