diff options
| author | Hai Zhang <zhanghai@google.com> | 2019-04-11 11:33:37 +0800 |
|---|---|---|
| committer | Hai Zhang <zhanghai@google.com> | 2019-04-11 11:33:37 +0800 |
| commit | 7949028ca16de367384f5b905711de727cd6441e (patch) | |
| tree | 37e7c9f9bd7eecf305546e59d22c0c6912c060d9 /core/java | |
| parent | 21df04365d9350c5d51f6fc1022590dbbcf30b34 (diff) | |
Remove car mode dialer and call companion roles.
Bug: 128861807
Test: presubmit
Change-Id: I198f38a59a1320c72c21522a191bf5c684f7b968
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/role/RoleManager.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/core/java/android/app/role/RoleManager.java b/core/java/android/app/role/RoleManager.java index 87597a7bf5f3..4b1796a8d0f7 100644 --- a/core/java/android/app/role/RoleManager.java +++ b/core/java/android/app/role/RoleManager.java @@ -113,22 +113,6 @@ public final class RoleManager { public static final String ROLE_HOME = "android.app.role.HOME"; /** - * The name of the car mode dialer app role. - * <p> - * Similar to the {@link #ROLE_DIALER dialer} role, this role determines which app is - * responsible for showing the user interface for ongoing calls on the device. It is only used - * when the device is in car mode. - * - * @see #ROLE_DIALER - * @see android.app.UiModeManager#ACTION_ENTER_CAR_MODE - * @see android.telecom.InCallService - * - * TODO: STOPSHIP: Make name of required roles public API - * @hide - */ - public static final String ROLE_CAR_MODE_DIALER = "android.app.role.CAR_MODE_DIALER"; - - /** * The name of the call redirection role. * <p> * A call redirection app provides a means to re-write the phone number for an outgoing call to @@ -146,22 +130,6 @@ public final class RoleManager { public static final String ROLE_CALL_SCREENING = "android.app.role.CALL_SCREENING"; /** - * The name of the call companion app role. - * <p> - * A call companion app provides no user interface for calls, but will be bound to by Telecom - * when there are active calls on the device. Companion apps for wearable devices are an - * acceptable use-case. - * <p> - * Multiple apps may hold this role at the same time. - * - * @see android.telecom.InCallService - * - * TODO: STOPSHIP: Make name of required roles public API - * @hide - */ - public static final String ROLE_CALL_COMPANION = "android.app.role.CALL_COMPANION"; - - /** * @hide */ @IntDef(flag = true, value = { MANAGE_HOLDERS_FLAG_DONT_KILL_APP }) |
