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

Unified Diff: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java

Issue 429633003: [Android] Pass the right listener to DatePickerDialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+ }
}
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698