summaryrefslogtreecommitdiff
path: root/telecomm/java/com
diff options
context:
space:
mode:
author Thomas Stuart <tjstuart@google.com> 2022-01-28 23:06:57 +0000
committer Thomas Stuart <tjstuart@google.com> 2022-02-28 16:39:38 +0000
commit4e1184dc2698209e7885cb37ff5eaec75ce804b2 (patch)
treec3a854a1e1d481878c8ae52ef39cb01378cd0b79 /telecomm/java/com
parent09076f0af2715438fd5ceeb052424f1ee0c936cf (diff)
decouple TelecomManager#getSelfManagedPhoneAccounts (2/3)
Recently TelecomManager#getSelfManagedPhoneAccounts was updated to allow callingPackages to get their PA's. However, API council noted there was ambiguity with what was returned from the method. Thus the method has been decoupled into 2 methods. bug: 216640181 Test: CTS Change-Id: Idbcb4740f5a5d7fdf5bedb9d9f6173eef0cb3f17
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index b9936ce2e1b2..9999c897d1b6 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -66,6 +66,12 @@ interface ITelecomService {
String callingFeatureId);
/**
+ * @see TelecomServiceImpl#getOwnSelfManagedPhoneAccounts
+ */
+ List<PhoneAccountHandle> getOwnSelfManagedPhoneAccounts(String callingPackage,
+ String callingFeatureId);
+
+ /**
* @see TelecomManager#getPhoneAccountsSupportingScheme
*/
List<PhoneAccountHandle> getPhoneAccountsSupportingScheme(in String uriScheme,