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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java

Issue 2784663002: Always initialize this year and month (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java
index 711e32242b43e007e62f9bdc05c945a352221d02..ffd980a22e05ef8c440059f86ff3cdc124658a41 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java
@@ -198,7 +198,7 @@ public class CardUnmaskPrompt
mShouldRequestExpirationDate = shouldRequestExpirationDate;
mThisYear = -1;
mThisMonth = -1;
- if (mShouldRequestExpirationDate) new CalendarTask().execute();
sebsg 2017/03/29 18:58:21 I would rather you do this logic in the onNewCardL
Shanfeng 2017/03/29 22:16:58 Actually prefer to keep it here after more thought
sebsg 2017/03/30 14:02:35 Right, when you send the onNewCardLinkClicked to t
Shanfeng 2017/03/30 20:06:04 Done.
+ new CalendarTask().execute();
// Create the listeners to be notified when the user focuses out the input fields.
mCardUnmaskInput.setOnFocusChangeListener(new OnFocusChangeListener() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698