From af62d4ff72376361408302218a01dc19c44500ee Mon Sep 17 00:00:00 2001 From: Lily Zhou Date: Tue, 21 Mar 2023 16:30:51 +0000 Subject: [PATCH] Implement IWalletCardsUpdatedListener.aidl and and IWalletContextualLocationsService.aidl. Used to communicate with PCC/AiAi (cl/506365002), and is a duplicate of cl/518291824. Bug: 270611301 Change-Id: I49cf85f4d6b9cadbe99da983567600028705e454 --- .../wallet/controller/IWalletCardsUpdatedListener.aidl | 7 +++++++ .../controller/IWalletContextualLocationsService.aidl | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletCardsUpdatedListener.aidl create mode 100644 packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletContextualLocationsService.aidl diff --git a/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletCardsUpdatedListener.aidl b/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletCardsUpdatedListener.aidl new file mode 100644 index 0000000000000..aa7ef57ea30c6 --- /dev/null +++ b/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletCardsUpdatedListener.aidl @@ -0,0 +1,7 @@ +package com.android.systemui.wallet.controller; + +import android.service.quickaccesswallet.WalletCard; + +interface IWalletCardsUpdatedListener { + void registerNewWalletCards(in List cards); +} \ No newline at end of file diff --git a/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletContextualLocationsService.aidl b/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletContextualLocationsService.aidl new file mode 100644 index 0000000000000..eebbdfd06f7cb --- /dev/null +++ b/packages/SystemUI/src/com/android/systemui/wallet/controller/IWalletContextualLocationsService.aidl @@ -0,0 +1,9 @@ +package com.android.systemui.wallet.controller; + +import com.android.systemui.wallet.controller.IWalletCardsUpdatedListener; + +interface IWalletContextualLocationsService { + void addWalletCardsUpdatedListener(in IWalletCardsUpdatedListener listener); + + void onWalletContextualLocationsStateUpdated(in List storeLocations); +} \ No newline at end of file