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

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

Issue 2623553002: Set proper action name on Pay Intent (Closed)
Patch Set: Address review comments 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 | « chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java ('k') | 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/AndroidPaymentAppFactory.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFactory.java
index 1914bb02d7a1c28bd45f261c1620ddeee8e8d432..c373ac10fd4a54f59b3f46868dbb5d73814f6b7a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFactory.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFactory.java
@@ -21,7 +21,6 @@ import java.util.Set;
/** Builds instances of payment apps based on installed third party Android payment apps. */
public class AndroidPaymentAppFactory implements PaymentAppFactoryAddition {
- private static final String ACTION_PAY = "org.chromium.intent.action.PAY";
private static final String ACTION_IS_READY_TO_PAY =
"org.chromium.intent.action.IS_READY_TO_PAY";
private static final String METHOD_PREFIX = "https://";
@@ -31,7 +30,7 @@ public class AndroidPaymentAppFactory implements PaymentAppFactoryAddition {
PaymentAppCreatedCallback callback) {
Map<String, AndroidPaymentApp> installedApps = new HashMap<>();
PackageManager pm = context.getPackageManager();
- Intent payIntent = new Intent(ACTION_PAY);
+ Intent payIntent = new Intent(AndroidPaymentApp.ACTION_PAY);
for (String methodName : methods) {
if (!methodName.startsWith(METHOD_PREFIX)) continue;
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698