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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.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/ScreenOrientationListener.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java b/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
index 5fd123a0aad90e4156a390487543b6dba20577ef..1398c84abd1fb5c16d6aa2fb4e8acd8dce75ff14 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
@@ -231,9 +231,9 @@ public class ScreenOrientationListener {
}
private ScreenOrientationListener() {
- mBackend = Build.VERSION.SDK_INT >= 17 ?
- new ScreenOrientationDisplayListener() :
- new ScreenOrientationConfigurationListener();
+ mBackend = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1
+ ? new ScreenOrientationDisplayListener()
+ : new ScreenOrientationConfigurationListener();
}
/**

Powered by Google App Engine
This is Rietveld 408576698