summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2015-05-08 13:52:09 -0700
committerSantos Cordon <santoscordon@google.com>2015-05-19 13:06:21 -0700
commit91371dc036ce66cd3ad8ec83eca8926ddf9cec0c (patch)
tree5672cb07abb90504fbcb36a042b56dfa4ef705f4 /telecomm/java/com
parentb6f567db95865fa3b104c70bc3b9b61835cce4f9 (diff)
downloadframeworks_base-91371dc036ce66cd3ad8ec83eca8926ddf9cec0c.zip
frameworks_base-91371dc036ce66cd3ad8ec83eca8926ddf9cec0c.tar.gz
frameworks_base-91371dc036ce66cd3ad8ec83eca8926ddf9cec0c.tar.bz2
Add enable/disable properties to phone accounts.
Bug: 20303449 Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl8
1 files changed, 7 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index bc76f06..aa02021 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -53,7 +53,8 @@ interface ITelecomService {
/**
* @see TelecomServiceImpl#getCallCapablePhoneAccounts
*/
- List<PhoneAccountHandle> getCallCapablePhoneAccounts(String callingPackage);
+ List<PhoneAccountHandle> getCallCapablePhoneAccounts(
+ boolean includeDisabledAccounts, String callingPackage);
/**
* @see TelecomManager#getPhoneAccountsSupportingScheme
@@ -226,4 +227,9 @@ interface ITelecomService {
* @see TelecomServiceImpl#placeCall
*/
void placeCall(in Uri handle, in Bundle extras, String callingPackage);
+
+ /**
+ * @see TelecomServiceImpl#enablePhoneAccount
+ */
+ void enablePhoneAccount(in PhoneAccountHandle accountHandle, boolean isEnabled);
}