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

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

Issue 2729643002: [Payments] Should not notify onInstrumentDetailsError for getInstruments (Closed)
Patch Set: Created 3 years, 10 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/payments/AndroidPaymentApp.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java
index 922ca4aaa9c8c00a80714c4e7948b3037b2c7d55..1e977e733f619db5bab2d09456a7b10d8804ceb1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java
@@ -145,13 +145,13 @@ public class AndroidPaymentApp extends PaymentInstrument implements PaymentApp,
} else {
ContentViewCore contentView = ContentViewCore.fromWebContents(mWebContents);
if (contentView == null) {
- notifyError();
+ respondToGetInstrumentsQuery(null);
return;
}
WindowAndroid window = contentView.getWindowAndroid();
if (window == null) {
- notifyError();
+ respondToGetInstrumentsQuery(null);
return;
}
« 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