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

Commit 2a2cfb9f authored by Lais Andrade's avatar Lais Andrade
Browse files

Use touch usage on camera shortcut vibration

Fix: 193858221
Test: manual
Change-Id: Id9d0c7b633e15106000d4233593a64e67b304545
parent e388c262
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4168,7 +4168,7 @@ public class StatusBar extends SystemUI implements DemoMode,

    private void vibrateForCameraGesture() {
        // Make sure to pass -1 for repeat so VibratorService doesn't stop us when going to sleep.
        mVibrator.vibrate(mCameraLaunchGestureVibrationEffect);
        mVibrator.vibrate(mCameraLaunchGestureVibrationEffect, VIBRATION_ATTRIBUTES);
    }

    private static VibrationEffect getCameraGestureVibrationEffect(Vibrator vibrator,