summaryrefslogtreecommitdiff
path: root/telecomm/java/com
diff options
context:
space:
mode:
author Grace Jia <xiaotonj@google.com> 2021-04-21 14:13:26 -0700
committer Grace Jia <xiaotonj@google.com> 2021-06-11 07:53:08 +0000
commitb13eb2c476fbb403646e48ded69fbc6b26f55606 (patch)
tree4bbe3a03574907f104e4714ed5ceed88f425c010 /telecomm/java/com
parentefffe25c1a5dbf5f487e6d8358d335115170036c (diff)
Protect TelecomManager#getPhoneAccount with necessary permissions.
Bug: 183407956 Test: make, CTS test Change-Id: I0ff68f29865c0bb2b316b3fc73d2c5adc37e4a36
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index 18afde742abb..6f286d9f3006 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -79,7 +79,7 @@ interface ITelecomService {
/**
* @see TelecomManager#getPhoneAccount
*/
- PhoneAccount getPhoneAccount(in PhoneAccountHandle account);
+ PhoneAccount getPhoneAccount(in PhoneAccountHandle account, String callingPackage);
/**
* @see TelecomManager#getAllPhoneAccountsCount