Index: content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java b/content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java |
index 015d8d87c3b4121bc8b4e30e01f2fd10fcc09fac..0b9da7507bf06ce3481cbedf69393e6d6e3cdbd6 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java |
@@ -31,8 +31,8 @@ class VibrationProvider { |
@CalledByNative |
private void vibrate(long milliseconds) { |
- if (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_SILENT && |
- mHasVibratePermission) { |
+ if (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_SILENT |
+ && mHasVibratePermission) { |
mVibrator.vibrate(milliseconds); |
} |
} |