Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1930)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java

Issue 744453002: Fix a bunch of Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsBraces to info Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}

Powered by Google App Engine
This is Rietveld 408576698