Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c39a7ac6 authored by Jack Yu's avatar Jack Yu
Browse files

NFC support in work profile

Add new constant userId extra for ACTION_CHANGE_DEFAULT.

Bug: 202367033
Test: mauanl tests
Change-Id: I4ce95f3939a8bb80b77926f111f34d084be8fb3e
parent 2341866f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+7 −0
Original line number Diff line number Diff line
@@ -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.
     */