From b13eb2c476fbb403646e48ded69fbc6b26f55606 Mon Sep 17 00:00:00 2001 From: Grace Jia Date: Wed, 21 Apr 2021 14:13:26 -0700 Subject: Protect TelecomManager#getPhoneAccount with necessary permissions. Bug: 183407956 Test: make, CTS test Change-Id: I0ff68f29865c0bb2b316b3fc73d2c5adc37e4a36 --- telecomm/java/com/android/internal/telecom/ITelecomService.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telecomm/java/com') 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 -- cgit v1.2.3-59-g8ed1b