From afd162fac783bced215437189bf2cffdc5f4081d Mon Sep 17 00:00:00 2001 From: Hyosun Kim Date: Thu, 9 Jun 2022 00:19:33 +0000 Subject: [PATCH] Revert "To read the Group UUID, the Caller must also have the US..." Revert "To read the Group UUID, the Caller must also have the US..." Revert "To read the Group UUID, the Caller must also have the US..." Revert submission 17956544-group_uuid Reason for revert: Bug: 235395006 Reverted Changes: Iaa5493679:To read the Group UUID, the Caller must also have ... Ic635126db:To read the Group UUID, the Caller must also have ... Ia134265c2:To read the Group UUID, the Caller must also have ... Change-Id: I286ebe8766b5cb975ee6e3536c966ef260b67627 --- .../android/telephony/SubscriptionManager.java | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java index 2337a5aae4672..d07d8097bce45 100644 --- a/telephony/java/android/telephony/SubscriptionManager.java +++ b/telephony/java/android/telephony/SubscriptionManager.java @@ -3426,21 +3426,10 @@ public class SubscriptionManager { * Get subscriptionInfo list of subscriptions that are in the same group of given subId. * See {@link #createSubscriptionGroup(List)} for more details. * - * Caller must have {@link android.Manifest.permission#READ_PHONE_STATE} - * or carrier privilege permission on the subscription. + * Caller will either have {@link android.Manifest.permission#READ_PHONE_STATE} + * permission or had carrier privilege permission on the subscription. * {@link TelephonyManager#hasCarrierPrivileges()} * - *

Starting with API level 33, the caller needs the additional permission - * {@link Manifest.permission#USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER} - * to get the list of subscriptions associated with a group UUID. - * This method can be invoked if one of the following requirements is met: - *

- * * @throws IllegalStateException if Telephony service is in bad state. * @throws SecurityException if the caller doesn't meet the requirements * outlined above.