[Web Payment] Hide service worker when native app is installed.
Before this patch, BobPay native Android payment app could be displayed side-by-side with BobPay service worker based payment app, even if the web app manifest was configured to prefer the native payment app. This patch adds a PaymentInstrument.getApplicationIdentifiersThatHideThisApp() override in ServiceWorkerPaymentApp, which was accidentally deleted in https://crrev.com/c/1988215 as it was being renamed from PaymentApp.getPreferredRelatedApplicationIds(). After this patch, BobPay native Android payment hides the service worker based payment app. Bug: 1049217 Change-Id: Id439daf9435317be30885e1e0adafce1284481ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2039632 Auto-Submit: Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#739091}
Showing
Please register or sign in to comment