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

Commit 8ba1cb3a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Reduce vibration length of camera gesture

Fixes: 29621269
Change-Id: Iaca4f82e75a709ccf1345c271ae443f16ebce852
parent 1156c52b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4640,7 +4640,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, 400}, -1 /* repeat */);
    }

    public void onScreenTurnedOn() {