Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)

- Added intents to TelecommManager.java

Bug: 17408536
Change-Id: Ibc7769cf382a1b074e1b12f2b82c6fc8b9903800
This commit is contained in:
Tyler Gunn
2014-09-11 13:31:57 -07:00
parent 5be52c11d9
commit 9becf00656
2 changed files with 20 additions and 0 deletions

View File

@@ -28491,6 +28491,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 ';'

View File

@@ -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.