diff options
author | Tyler Gunn <tgunn@google.com> | 2014-09-11 13:31:57 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-09-11 13:31:57 -0700 |
commit | 9becf006563b158cdf6e0d511678ca40a984a1a4 (patch) | |
tree | c4f9fea2906831397ca2fb1ac64b1cc6699a8330 /telecomm | |
parent | 5be52c11d98ba85c559634bc9be96368332ac78c (diff) | |
download | frameworks_base-9becf006563b158cdf6e0d511678ca40a984a1a4.zip frameworks_base-9becf006563b158cdf6e0d511678ca40a984a1a4.tar.gz frameworks_base-9becf006563b158cdf6e0d511678ca40a984a1a4.tar.bz2 |
Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)
- Added intents to TelecommManager.java
Bug: 17408536
Change-Id: Ibc7769cf382a1b074e1b12f2b82c6fc8b9903800
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 9b8c536..88fe946 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. */ |