summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-04-23 15:58:27 -0700
committerYorke Lee <yorkelee@google.com>2015-04-24 11:12:34 -0700
commit1011f4870c24659c78050c4165ac9aa6983b7b06 (patch)
tree71956d4b8ece720c2bcf8ac6bdfbd70f88b07d9b /telecomm/java/com
parent1ff1d3203f858c17b18dd2d9708dcd5b1adfbe4c (diff)
downloadframeworks_base-1011f4870c24659c78050c4165ac9aa6983b7b06.zip
frameworks_base-1011f4870c24659c78050c4165ac9aa6983b7b06.tar.gz
frameworks_base-1011f4870c24659c78050c4165ac9aa6983b7b06.tar.bz2
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
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl10
1 files changed, 10 insertions, 0 deletions
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.
//