Remove EXTRA_USERID from NFC CardEmulation

Based on suggestion, use existing Intent.EXTRA_USER to pass the UserHandle
as the extra field of ACTION_CHANGE_DEFAULT.

Bug: 215300017
Test: manual
Change-Id: I15c5032f0229e8049fa1ef3741638974189ac3cf
This commit is contained in:
Jack Yu
2022-02-15 13:54:44 +08:00
parent d52dd08acb
commit c5942cc293
2 changed files with 0 additions and 8 deletions

View File

@@ -26189,7 +26189,6 @@ package android.nfc.cardemulation {
field public static final String CATEGORY_PAYMENT = "payment";
field public static final String EXTRA_CATEGORY = "category";
field public static final String EXTRA_SERVICE_COMPONENT = "component";
field public static final String EXTRA_USERID = "android.nfc.cardemulation.extra.USERID";
field public static final int SELECTION_MODE_ALWAYS_ASK = 1; // 0x1
field public static final int SELECTION_MODE_ASK_IF_CONFLICT = 2; // 0x2
field public static final int SELECTION_MODE_PREFER_DEFAULT = 0; // 0x0

View File

@@ -83,13 +83,6 @@ public final class CardEmulation {
*/
public static final String EXTRA_SERVICE_COMPONENT = "component";
/**
* The caller userId extra for {@link #ACTION_CHANGE_DEFAULT}.
*
* @see #ACTION_CHANGE_DEFAULT
*/
public static final String EXTRA_USERID = "android.nfc.cardemulation.extra.USERID";
/**
* Category used for NFC payment services.
*/