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

Commit 2df938e5 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)" into lmp-dev

parents 934f81a2 9becf006
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28489,6 +28489,8 @@ package android.telecomm {
    method public void unregisterPhoneAccount(android.telecomm.PhoneAccountHandle);
    field public static final java.lang.String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecomm.action.CHANGE_PHONE_ACCOUNTS";
    field public static final java.lang.String ACTION_CONNECTION_SERVICE_CONFIGURE = "android.telecomm.action.CONNECTION_SERVICE_CONFIGURE";
    field public static final java.lang.String ACTION_PHONE_ACCOUNT_DISABLED = "android.telecom.action.PHONE_ACCOUNT_DISABLED";
    field public static final java.lang.String ACTION_PHONE_ACCOUNT_ENABLED = "android.telecom.action.PHONE_ACCOUNT_ENABLED";
    field public static final java.lang.String ACTION_SHOW_CALL_SETTINGS = "android.telecomm.action.SHOW_CALL_SETTINGS";
    field public static final char DTMF_CHARACTER_PAUSE = 44; // 0x002c ','
    field public static final char DTMF_CHARACTER_WAIT = 59; // 0x003b ';'
+18 −0
Original line number Diff line number Diff line
@@ -69,6 +69,24 @@ public class TelecommManager {
    public static final String ACTION_CHANGE_PHONE_ACCOUNTS =
            "android.telecomm.action.CHANGE_PHONE_ACCOUNTS";

    /**
     * The {@link android.content.Intent} action used to inform a
     * {@link android.telecomm.ConnectionService} that one of its {@link PhoneAccount}s has been
     * enabled.  The {@link TelecommManager#EXTRA_PHONE_ACCOUNT_HANDLE} extra is used to indicate
     * which {@link PhoneAccount} has been enabled.
     */
    public static final String ACTION_PHONE_ACCOUNT_ENABLED =
            "android.telecom.action.PHONE_ACCOUNT_ENABLED";

    /**
     * The {@link android.content.Intent} action used to inform a
     * {@link android.telecomm.ConnectionService} that one of its {@link PhoneAccount}s has been
     * disabled.  The {@link TelecommManager#EXTRA_PHONE_ACCOUNT_HANDLE} extra is used to indicate
     * which {@link PhoneAccount} has been disabled.
     */
    public static final String ACTION_PHONE_ACCOUNT_DISABLED =
            "android.telecom.action.PHONE_ACCOUNT_DISABLED";

    /**
     * Optional extra for {@link android.content.Intent#ACTION_CALL} containing a boolean that
     * determines whether the speakerphone should be automatically turned on for an outgoing call.