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

Issue 2092083003: Refactor contact editor controller into its own class. (Closed)

Created:
4 years, 6 months ago by please use gerrit instead
Modified:
4 years, 5 months ago
Reviewers:
gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor contact editor controller into its own class. BUG=603635 Committed: https://crrev.com/ed717079ed994eabfa0373635138cc23ea39622f Cr-Commit-Position: refs/heads/master@{#402352}

Patch Set 1 #

Patch Set 2 : Put common code in editContact() #

Total comments: 2

Patch Set 3 : Match payments UI size even on large screens. #

Messages

Total messages: 16 (6 generated)
please use gerrit instead
dfalcantara@, ptal. There's no base class that we've discussed, because there's only one editor controller ...
4 years, 6 months ago (2016-06-24 22:03:15 UTC) #2
gone
lgtm https://codereview.chromium.org/2092083003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java (right): https://codereview.chromium.org/2092083003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java#newcode31 chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java:31: private final List<CharSequence> mAllPhoneNumbers; Weird to call this ...
4 years, 5 months ago (2016-06-27 21:20:52 UTC) #3
please use gerrit instead
Removed "All" from the names of lists that did not really contain all data. Made ...
4 years, 5 months ago (2016-06-27 22:26:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2092083003/40001
4 years, 5 months ago (2016-06-27 22:27:39 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/235251)
4 years, 5 months ago (2016-06-27 23:57:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2092083003/40001
4 years, 5 months ago (2016-06-28 00:24:01 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-28 00:59:25 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/ed717079ed994eabfa0373635138cc23ea39622f Cr-Commit-Position: refs/heads/master@{#402352}
4 years, 5 months ago (2016-06-28 01:00:43 UTC) #14
dgn
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2109573002/ by dgn@chromium.org. ...
4 years, 5 months ago (2016-06-28 09:28:18 UTC) #15
dgn
4 years, 5 months ago (2016-06-28 09:29:31 UTC) #16
Message was sent while issue was closed.
On 2016/06/28 09:28:18, dgn wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.chromium.org/2109573002/ by mailto:dgn@chromium.org.
> 
> The reason for reverting is: Hits assert on pre-L devices:
> 
> java.lang.AssertionError
>   at
>
org.chromium.chrome.browser.payments.ui.PaymentOption.updateLabels(PaymentOption.java:67)
>   at
>
org.chromium.chrome.browser.payments.AutofillContact.setPhoneEmail(AutofillContact.java:76)
>   at
>
org.chromium.chrome.browser.payments.AutofillContact.<init>(AutofillContact.java:37)
>   at
>
org.chromium.chrome.browser.payments.ContactEditor.editContact(ContactEditor.java:108)
>   at
>
org.chromium.chrome.browser.payments.PaymentRequestImpl.editContact(PaymentRequestImpl.java:625)
>   at
>
org.chromium.chrome.browser.payments.PaymentRequestImpl.onSectionAddOption(PaymentRequestImpl.java:617)
>   at
>
org.chromium.chrome.browser.payments.ui.PaymentRequestUI.onAddPaymentOption(PaymentRequestUI.java:579)
>   at
>
org.chromium.chrome.browser.payments.ui.PaymentRequestSection$OptionSection.onClick(PaymentRequestSection.java:756)
>   at android.view.View.performClick(View.java:4438).

(in tests, e.g. PaymentRequestPhoneTest#testAddPhoneAndPay)

Powered by Google App Engine
This is Rietveld 408576698