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

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

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
parent d52dd08a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
+0 −7
Original line number Diff line number Diff line
@@ -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.
     */