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

Commit ffe0cbe5 authored by Meng Wang's avatar Meng Wang
Browse files

Expose ACTION_USER_SWITCHED as system API

Bug: 148180958
Test: make
Change-Id: I8eb6689c0542869ef7050ce68f1c47e072f1dc01
parent eb7dddb9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1641,6 +1641,7 @@ package android.content {
    field public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP";
    field public static final String ACTION_USER_ADDED = "android.intent.action.USER_ADDED";
    field public static final String ACTION_USER_REMOVED = "android.intent.action.USER_REMOVED";
    field @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public static final String ACTION_USER_SWITCHED = "android.intent.action.USER_SWITCHED";
    field public static final String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST";
    field public static final String CATEGORY_LEANBACK_SETTINGS = "android.intent.category.LEANBACK_SETTINGS";
    field public static final String EXTRA_CALLING_PACKAGE = "android.intent.extra.CALLING_PACKAGE";
+3 −1
Original line number Diff line number Diff line
@@ -3619,7 +3619,9 @@ public class Intent implements Parcelable, Cloneable {
     * {@link android.Manifest.permission#MANAGE_USERS} to receive this broadcast.
     * @hide
     */
    @UnsupportedAppUsage
    @RequiresPermission(android.Manifest.permission.MANAGE_USERS)
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    @SystemApi
    public static final String ACTION_USER_SWITCHED =
            "android.intent.action.USER_SWITCHED";