OSDN Git Service

Rename intent extra following API review
authorAlexandra Gherghina <alexgherghina@google.com>
Fri, 5 Sep 2014 14:48:06 +0000 (15:48 +0100)
committerAlexandra Gherghina <alexgherghina@google.com>
Fri, 5 Sep 2014 14:48:07 +0000 (15:48 +0100)
Bug: 17389968
Change-Id: Id2bd8d12019ad7a4c5a3ac8a7f76f55d06fc4dff

core/java/android/content/Intent.java

index b825c94..51a58d1 100644 (file)
@@ -3363,7 +3363,7 @@ public class Intent implements Parcelable, Cloneable {
      * profiles - {@link #ACTION_MANAGED_PROFILE_ADDED} and {@link #ACTION_MANAGED_PROFILE_REMOVED}.
      */
     public static final String EXTRA_USER =
-            "android.intent.extra.user";
+            "android.intent.extra.USER";
 
     /**
      * Extra used in the response from a BroadcastReceiver that handles