Index: base/android/java/src/org/chromium/base/CommandLineInitUtil.java |
diff --git a/base/android/java/src/org/chromium/base/CommandLineInitUtil.java b/base/android/java/src/org/chromium/base/CommandLineInitUtil.java |
index bec9b40273787b720ea65b16eab8e5f152c2dfb6..096ff5d4aca4a258dbf6211059109eebdbf3552c 100644 |
--- a/base/android/java/src/org/chromium/base/CommandLineInitUtil.java |
+++ b/base/android/java/src/org/chromium/base/CommandLineInitUtil.java |
@@ -75,8 +75,9 @@ public final class CommandLineInitUtil { |
return alternativeCommandLineFile; |
} |
- String debugApp = Build.VERSION.SDK_INT < 17 |
- ? getDebugAppPreJBMR1(context) : getDebugAppJBMR1(context); |
+ String debugApp = Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1 |
+ ? getDebugAppPreJBMR1(context) |
+ : getDebugAppJBMR1(context); |
if (debugApp != null |
&& debugApp.equals(context.getApplicationContext().getPackageName())) { |