[Web Payment] TWA-specific payment method identifiers.
Before this patch, any Android payment app could be used on Chrome OS (when chrome://flags/#enable-web-payments-experimental-features flag was enabled). This patch adds a check that Chrome is running in TWA mode and one of the requested payment methods is supported by TWAs. After this patch, only TWA-specific payment method identifiers can be used with TWA payment apps on Chrome OS. Bug: 1061503 Change-Id: I48573e142d099546b93577e432346674932b3f62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302310 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#798497}
Showing
Please register or sign in to comment