Chromium Code Reviews| Index: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
| diff --git a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
| index 054e7f383778fb7d25ee2c2db5f8a610d7eaf354..a122c06cf6fefd12933d24b1a6a67b7e0d5e2ac3 100644 |
| --- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
| +++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
| @@ -295,4 +295,10 @@ public class ApiCompatibilityUtils { |
| return intent.getTargetPackage(); |
| } |
| } |
| + |
| + public static boolean datePickerRequiresAccept() { |
| + // TODO(miguelg) use the final code for the L |
| + // https://crbug.com/399198 |
| + return Build.VERSION.SDK_INT < 20; /* CUR_DEVELOPMENT */ |
|
rmcilroy
2014/07/31 10:19:59
I think the way to do this for unreleased versions
|
| + } |
| } |