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

Commit bb36f79f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use touch usage on camera shortcut vibration" into sc-dev am: 831024c8 am: e283586a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15328598

Change-Id: I05d419414decd87f3d2581a82ba34d490a4749f5
parents 87603bee e283586a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4182,7 +4182,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,