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

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

Issue 2623553002: Set proper action name on Pay Intent (Closed)
Patch Set: Created 3 years, 11 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 b9c40ded9b8ee5e88e283281fc072f93c802fef0..0e88096f2f2cb4158b0ce646d209f0dd0dc1e756 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
@@ -36,6 +36,7 @@ public class AndroidPaymentApp extends PaymentInstrument implements PaymentApp,
private static final String EXTRA_DETAILS = "details";
private static final String EXTRA_INSTRUMENT_DETAILS = "instrumentDetails";
private static final String EMPTY_JSON_DATA = "{}";
+ private static final String PAY_INTENT_ACTION = "org.chromium.intent.action.PAY";
please use gerrit instead 2017/01/09 18:14:03 Please make this strict public and use it in Andro
rwlbuis 2017/01/09 18:32:54 Done.
private final Handler mHandler;
private final WebContents mWebContents;
@@ -61,6 +62,7 @@ public class AndroidPaymentApp extends PaymentInstrument implements PaymentApp,
mWebContents = webContents;
mPayIntent = new Intent();
mPayIntent.setClassName(packageName, activity);
+ mPayIntent.setAction(PAY_INTENT_ACTION);
mMethodNames = new HashSet<>();
}
« 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