From 1011f4870c24659c78050c4165ac9aa6983b7b06 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 23 Apr 2015 15:58:27 -0700 Subject: Add APIs to getDefaultDialerPackage and getSystemDialerPackage getDefaultDialerPackage is a public API and will be used by apps to determine if they are the default dialer. getSystemDialerPackage is a hidden API and is only used by system components. Also add new public string constants to allow apps to show a dialog requesting that the user change the current default dialer. Bug: 20304458 Change-Id: I121d36741474c1fe171c372fb766a6c128228c9c --- .../java/com/android/internal/telecom/ITelecomService.aidl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'telecomm/java/com/android/internal/telecom') diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl index 45b2482..49f2aad 100644 --- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl +++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl @@ -137,6 +137,16 @@ interface ITelecomService { */ ComponentName getDefaultPhoneApp(); + /** + * @see TelecomServiceImpl#getDefaultDialerPackage + */ + String getDefaultDialerPackage(); + + /** + * @see TelecomServiceImpl#getSystemDialerPackage + */ + String getSystemDialerPackage(); + // // Internal system apis relating to call management. // -- cgit v1.1