Loading core/api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -1651,7 +1651,6 @@ package android { field public static final int useEmbeddedDex = 16844190; // 0x101059e field public static final int useIntrinsicSizeAsMinimum = 16843536; // 0x1010310 field public static final int useLevel = 16843167; // 0x101019f field public static final int useTargetActivityForQuickAccess; field public static final int userVisible = 16843409; // 0x1010291 field public static final int usesCleartextTraffic = 16844012; // 0x10104ec field public static final int usesPermissionFlags = 16844356; // 0x1010644 core/api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -2404,7 +2404,6 @@ package android.service.quickaccesswallet { method public void notifyWalletDismissed(); method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest); method public boolean useTargetActivityForQuickAccess(); } public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback { Loading core/java/android/service/quickaccesswallet/QuickAccessWalletClient.java +0 −11 Original line number Diff line number Diff line Loading @@ -240,15 +240,4 @@ public interface QuickAccessWalletClient extends Closeable { */ @Nullable CharSequence getShortcutLongLabel(); /** * Return whether the system should use the component specified by the * {@link android:targetActivity} or * {@link QuickAccessWalletService#getTargetActivityPendingIntent()} * as the "quick access" , invoked directly by the system. * If false, the system will use the built-in UI instead of the component specified * in {@link android:targetActivity} or * {@link QuickAccessWalletService#getTargetActivityPendingIntent()}. */ boolean useTargetActivityForQuickAccess(); } core/java/android/service/quickaccesswallet/QuickAccessWalletClientImpl.java +0 −5 Original line number Diff line number Diff line Loading @@ -350,11 +350,6 @@ public class QuickAccessWalletClientImpl implements QuickAccessWalletClient, Ser return mServiceInfo == null ? null : mServiceInfo.getShortcutLongLabel(mContext); } @Override public boolean useTargetActivityForQuickAccess() { return mServiceInfo.getUseTargetActivityForQuickAccess(); } private void connect() { mHandler.post(this::connectInternal); } Loading core/java/android/service/quickaccesswallet/QuickAccessWalletService.java +8 −0 Original line number Diff line number Diff line Loading @@ -336,6 +336,14 @@ public abstract class QuickAccessWalletService extends Service { mHandler.post(() -> sendWalletServiceEventInternal(serviceEvent)); } /** * Specify a {@link PendingIntent} to be launched as the "Quick Access" activity. * * This activity will be launched directly by the system in lieu of the card switcher activity * provided by the system. * * In order to use the system-provided card switcher activity, return null from this method. */ @Nullable public PendingIntent getTargetActivityPendingIntent() { return null; Loading Loading
core/api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -1651,7 +1651,6 @@ package android { field public static final int useEmbeddedDex = 16844190; // 0x101059e field public static final int useIntrinsicSizeAsMinimum = 16843536; // 0x1010310 field public static final int useLevel = 16843167; // 0x101019f field public static final int useTargetActivityForQuickAccess; field public static final int userVisible = 16843409; // 0x1010291 field public static final int usesCleartextTraffic = 16844012; // 0x10104ec field public static final int usesPermissionFlags = 16844356; // 0x1010644
core/api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -2404,7 +2404,6 @@ package android.service.quickaccesswallet { method public void notifyWalletDismissed(); method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest); method public boolean useTargetActivityForQuickAccess(); } public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback { Loading
core/java/android/service/quickaccesswallet/QuickAccessWalletClient.java +0 −11 Original line number Diff line number Diff line Loading @@ -240,15 +240,4 @@ public interface QuickAccessWalletClient extends Closeable { */ @Nullable CharSequence getShortcutLongLabel(); /** * Return whether the system should use the component specified by the * {@link android:targetActivity} or * {@link QuickAccessWalletService#getTargetActivityPendingIntent()} * as the "quick access" , invoked directly by the system. * If false, the system will use the built-in UI instead of the component specified * in {@link android:targetActivity} or * {@link QuickAccessWalletService#getTargetActivityPendingIntent()}. */ boolean useTargetActivityForQuickAccess(); }
core/java/android/service/quickaccesswallet/QuickAccessWalletClientImpl.java +0 −5 Original line number Diff line number Diff line Loading @@ -350,11 +350,6 @@ public class QuickAccessWalletClientImpl implements QuickAccessWalletClient, Ser return mServiceInfo == null ? null : mServiceInfo.getShortcutLongLabel(mContext); } @Override public boolean useTargetActivityForQuickAccess() { return mServiceInfo.getUseTargetActivityForQuickAccess(); } private void connect() { mHandler.post(this::connectInternal); } Loading
core/java/android/service/quickaccesswallet/QuickAccessWalletService.java +8 −0 Original line number Diff line number Diff line Loading @@ -336,6 +336,14 @@ public abstract class QuickAccessWalletService extends Service { mHandler.post(() -> sendWalletServiceEventInternal(serviceEvent)); } /** * Specify a {@link PendingIntent} to be launched as the "Quick Access" activity. * * This activity will be launched directly by the system in lieu of the card switcher activity * provided by the system. * * In order to use the system-provided card switcher activity, return null from this method. */ @Nullable public PendingIntent getTargetActivityPendingIntent() { return null; Loading