Skip to content
Snippets Groups Projects
Commit 527b5072 authored by Ayush Sharma's avatar Ayush Sharma
Browse files

Add intent for switch to work profile dialog

Bug: 258629881
Test: NA
Change-Id: I503767a4752a55207ece61255f7b547226129091
parent 59130bd0
No related branches found
No related tags found
No related merge requests found
......@@ -950,6 +950,23 @@ public class TelecomManager {
@SystemApi
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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment