NFC support in work profile

Add new constant userId extra for ACTION_CHANGE_DEFAULT.

Bug: 202367033
Test: mauanl tests
Change-Id: I4ce95f3939a8bb80b77926f111f34d084be8fb3e
This commit is contained in:
Jack Yu
2021-10-13 17:09:01 +08:00
parent 2341866fec
commit c39a7ac618
2 changed files with 8 additions and 0 deletions

View File

@@ -27373,6 +27373,7 @@ 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,6 +83,13 @@ 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.
*/