diff options
author | Tyler Gunn <tgunn@google.com> | 2014-09-12 01:27:36 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-12 01:27:37 +0000 |
commit | 2df938e56b7a91403a523c5e1583fd1d6722f4bd (patch) | |
tree | 5af86c9e8aab091fee7f1f4d449d3de45bc050b2 /telecomm | |
parent | 934f81a2a46e168683ea02d694f6f7069c987021 (diff) | |
parent | 9becf006563b158cdf6e0d511678ca40a984a1a4 (diff) | |
download | frameworks_base-2df938e56b7a91403a523c5e1583fd1d6722f4bd.zip frameworks_base-2df938e56b7a91403a523c5e1583fd1d6722f4bd.tar.gz frameworks_base-2df938e56b7a91403a523c5e1583fd1d6722f4bd.tar.bz2 |
Merge "Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)" into lmp-dev
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecomm/TelecommManager.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/TelecommManager.java b/telecomm/java/android/telecomm/TelecommManager.java index a19f51b..e2c98cd 100644 --- a/telecomm/java/android/telecomm/TelecommManager.java +++ b/telecomm/java/android/telecomm/TelecommManager.java @@ -70,6 +70,24 @@ public class TelecommManager { "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. */ |