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

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

Change-Id: Ief6cb4c0dc9f753ecf36b03eaa92ad03e39907d2
This commit is contained in:
TreeHugger Robot
2021-07-20 16:05:39 +00:00
committed by Automerger Merge Worker

View File

@@ -4178,7 +4178,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,