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

Commit 064fc83b authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Add ability to modify default dialer via ADB" into mnc-dev

parents 0ee2c1ae 5cf2dde3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -123,6 +123,16 @@ public class TelecomManager {
    public static final String ACTION_CHANGE_DEFAULT_DIALER =
            "android.telecom.action.CHANGE_DEFAULT_DIALER";

    /**
     * Privileged version of {@link #ACTION_CHANGE_DEFAULT_DIALER} that doesn't require
     * confirmation from the user via the dialog.
     *
     * Requires permission: {@link android.Manifest.permission#MODIFY_PHONE_STATE}
     * @hide
     */
    public static final String ACTION_CHANGE_DEFAULT_DIALER_PRIVILEGED =
            "android.telecom.action.CHANGE_DEFAULT_DIALER_PRIVILEGED";

    /**
     * Activity action: Opens the settings screen where a user can enable and disable which
     * {@link PhoneAccount}s are allows to make and receive calls. Because a user must