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: I15e8efeee50116b287e084bc856b8062313c17ee
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user