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

Commit ff3a45ce authored by Ayush Sharma's avatar Ayush Sharma Committed by Android (Google) Code Review
Browse files

Merge "Add intent for switch to work profile dialog"

parents dd0ad586 527b5072
Loading
Loading
Loading
Loading
+17 −0
Original line number Original line Diff line number Diff line
@@ -950,6 +950,23 @@ public class TelecomManager {
    @SystemApi
    @SystemApi
    public static final String EXTRA_CALL_SOURCE = "android.telecom.extra.CALL_SOURCE";
    public static final String EXTRA_CALL_SOURCE = "android.telecom.extra.CALL_SOURCE";


    /**
     * Intent action to trigger "switch to managed profile" dialog for call in SystemUI
     *
     * @hide
     */
    public static final String ACTION_SHOW_SWITCH_TO_WORK_PROFILE_FOR_CALL_DIALOG =
            "android.telecom.action.SHOW_SWITCH_TO_WORK_PROFILE_FOR_CALL_DIALOG";

    /**
     * Extra specifying the managed profile user id.
     * This is used with {@link TelecomManager#ACTION_SHOW_SWITCH_TO_WORK_PROFILE_FOR_CALL_DIALOG}
     *
     * @hide
     */
    public static final String EXTRA_MANAGED_PROFILE_USER_ID =
            "android.telecom.extra.MANAGED_PROFILE_USER_ID";

    /**
    /**
     * Indicating the call is initiated via emergency dialer's shortcut button.
     * Indicating the call is initiated via emergency dialer's shortcut button.
     *
     *