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

Commit 7949028c authored by Hai Zhang's avatar Hai Zhang
Browse files

Remove car mode dialer and call companion roles.

Bug: 128861807
Test: presubmit
Change-Id: I198f38a59a1320c72c21522a191bf5c684f7b968
parent 21df0436
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
@@ -112,22 +112,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>
@@ -145,22 +129,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
     */