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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.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
Index: content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java b/content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java
index e759e8550aaa9bd25a0b5b480fdadde430717661..8e7987b86b24a9b7ed3dcafe0274d0ae46bb0006 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java
@@ -4,7 +4,6 @@
package org.chromium.content.browser.input;
-import android.app.DatePickerDialog.OnDateSetListener;
import android.content.Context;
import android.content.DialogInterface;
import android.widget.DatePicker;
@@ -23,7 +22,7 @@ class ChromeDatePickerDialog extends android.app.DatePickerDialog {
int year,
int monthOfYear,
int dayOfMonth) {
- super(context, 0, null, year, monthOfYear, dayOfMonth);
+ super(context, 0, callBack, year, monthOfYear, dayOfMonth);
mCallBack = callBack;
}

Powered by Google App Engine
This is Rietveld 408576698