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(); |
} |
/** |