[Android][Payment]changePaymentMethod should work with missing details
Without this cl changePaymentMethod would fail when the "details" key did not exist in input bundle. With this change the "StringifiedDetails" passed to changePaymentMethodfromInvokedApp()[1] will have the default stringified empty JSON object value. [1]https://cs.chromium.org/chromium/src/components/payments/content/android/java/src/org/chromium/components/payments/PaymentRequestUpdateEventListener.java?l=32 Bug: 1026667 Change-Id: I55ac9d3e5d6dc6923290223317164d1dfdd3faa6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255656 Commit-Queue: Sahel Sharify <sahel@chromium.org> Reviewed-by:Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#781458}
Showing
Please register or sign in to comment