summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-03-03 02:34:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-03-03 02:34:41 +0000
commit2b65ebc34025a3791c88fe25d6ef068f32da46b4 (patch)
tree3b51e9e8d544ef804c95b774d8879754f199c7ba
parent411168d77b730d1a3741a67c05ffd0f17514d74f (diff)
parenta053fa8d462639637f3d3e925c93e78cac48810e (diff)
Merge "Add an optional extra field description for ACTION_CHANGE_DEFAULT"
-rw-r--r--core/java/android/nfc/cardemulation/CardEmulation.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/nfc/cardemulation/CardEmulation.java b/core/java/android/nfc/cardemulation/CardEmulation.java
index 9a780c8a2935..2b34d8639235 100644
--- a/core/java/android/nfc/cardemulation/CardEmulation.java
+++ b/core/java/android/nfc/cardemulation/CardEmulation.java
@@ -25,6 +25,7 @@ import android.app.Activity;
import android.app.ActivityThread;
import android.content.ComponentName;
import android.content.Context;
+import android.content.Intent;
import android.content.pm.IPackageManager;
import android.content.pm.PackageManager;
import android.nfc.INfcCardEmulation;
@@ -62,7 +63,9 @@ public final class CardEmulation {
* replace the current default service with the service
* identified with the ComponentName specified in
* {@link #EXTRA_SERVICE_COMPONENT}, for the category
- * specified in {@link #EXTRA_CATEGORY}
+ * specified in {@link #EXTRA_CATEGORY}. There is an optional
+ * extra field using {@link Intent#EXTRA_USER} to specify
+ * the {@link UserHandle} of the user that owns the app.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_CHANGE_DEFAULT =