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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java

Issue 2515853002: [Payments] Fix new billing address label. (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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: chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java
index 4e1a5b3a6f835406006e4d9d6b6af5dd99860a62..0527d47e2081406659762c8eab54732da368e9fc 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java
@@ -93,6 +93,13 @@ public class AutofillAddress extends PaymentOption {
}
/**
+ * Updates the sublabel of the PaymentOption to represent the label of the profile.
+ */
+ public void updateProfileLabel() {
+ updateSublabel(mProfile.getLabel());
+ }
+
+ /**
* Checks whether this address is complete and updates edit message, edit title and complete
* status.
*/

Powered by Google App Engine
This is Rietveld 408576698