| Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
|
| index 3be76de87447105a7fa4aac276b5404e4e0f2786..bf3332b13e346257d10c6eba88ee1e0f311e1e25 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
|
| @@ -679,7 +679,6 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| * @param section The shipping options.
|
| */
|
| public void updateSection(@DataType int whichSection, SectionInformation section) {
|
| - mIsEditingPaymentItem = false;
|
| if (whichSection == TYPE_SHIPPING_ADDRESSES) {
|
| mShippingAddressSectionInformation = section;
|
| mShippingAddressSection.update(section);
|
| @@ -693,8 +692,14 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| mPaymentMethodSectionInformation = section;
|
| mPaymentMethodSection.update(section);
|
| }
|
| +
|
| + boolean isFinishingEditItem = mIsEditingPaymentItem;
|
| + mIsEditingPaymentItem = false;
|
| updateSectionButtons();
|
| updatePayButtonEnabled();
|
| +
|
| + // Notify ready for input for test if this is finishing editing item.
|
| + if (isFinishingEditItem) notifyReadyForInput();
|
| }
|
|
|
| @Override
|
|
|