diff options
author | Yorke Lee <yorkelee@google.com> | 2015-06-02 13:55:25 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-06-02 14:23:21 -0700 |
commit | db6da486217daa3418944cf93086a3bae549dad2 (patch) | |
tree | efc55aadcd3a7f2a07b45647510621fcf38104d5 /telecomm/java/com | |
parent | 064fc83b81e215881c2ad22827741e6e9142f948 (diff) | |
download | frameworks_base-db6da486217daa3418944cf93086a3bae549dad2.zip frameworks_base-db6da486217daa3418944cf93086a3bae549dad2.tar.gz frameworks_base-db6da486217daa3418944cf93086a3bae549dad2.tar.bz2 |
Allow default dialer changes and phone account enable/disable via ADB
Add commands accessible via adb shell that can be used for CTS tests
without the need for adb root
*set-phone-account-enabled
*set-phone-account-disabled
*set-default-dialer
*get-default-dialer
Modify enablePhoneAccount/setDefaultDialer to indicate success.
Remove now unused functionality in ProtectedEnableAccountPreferenceActivity
and ProtectedChangeDefaultDialerActivity.
Bug: 21583012
Change-Id: I542d145cc969334c004b8344fbbb01f278256f9d
Diffstat (limited to 'telecomm/java/com')
-rw-r--r-- | telecomm/java/com/android/internal/telecom/ITelecomService.aidl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl index aa02021..ea6a74a 100644 --- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl +++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl @@ -231,5 +231,10 @@ interface ITelecomService { /** * @see TelecomServiceImpl#enablePhoneAccount */ - void enablePhoneAccount(in PhoneAccountHandle accountHandle, boolean isEnabled); + boolean enablePhoneAccount(in PhoneAccountHandle accountHandle, boolean isEnabled); + + /** + * @see TelecomServiceImpl#setDefaultDialer + */ + boolean setDefaultDialer(in String packageName); } |