Loading telephony/java/android/telephony/SubscriptionInfo.java +4 −4 Original line number Diff line number Diff line Loading @@ -311,8 +311,8 @@ public class SubscriptionInfo implements Parcelable { /** * Returns the ICC ID. * * Starting with API level 30, returns the ICC ID if the calling app has been granted the * READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * Starting with API level 29 Security Patch 2021-04-05, returns the ICC ID if the calling app * has been granted the READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * {@link TelephonyManager#hasCarrierPrivileges}), or is a device owner or profile owner that * has been granted the READ_PHONE_STATE permission. The profile owner is an app that owns a * managed profile on the device; for more details see <a Loading Loading @@ -699,8 +699,8 @@ public class SubscriptionInfo implements Parcelable { /** * Returns the card string of the SIM card which contains the subscription. * * Starting with API level 30, returns the card string if the calling app has been granted the * READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * Starting with API level 29 Security Patch 2021-04-05, returns the card string if the calling * app has been granted the READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * {@link TelephonyManager#hasCarrierPrivileges}), or is a device owner or profile owner that * has been granted the READ_PHONE_STATE permission. The profile owner is an app that owns a * managed profile on the device; for more details see <a Loading Loading
telephony/java/android/telephony/SubscriptionInfo.java +4 −4 Original line number Diff line number Diff line Loading @@ -311,8 +311,8 @@ public class SubscriptionInfo implements Parcelable { /** * Returns the ICC ID. * * Starting with API level 30, returns the ICC ID if the calling app has been granted the * READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * Starting with API level 29 Security Patch 2021-04-05, returns the ICC ID if the calling app * has been granted the READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * {@link TelephonyManager#hasCarrierPrivileges}), or is a device owner or profile owner that * has been granted the READ_PHONE_STATE permission. The profile owner is an app that owns a * managed profile on the device; for more details see <a Loading Loading @@ -699,8 +699,8 @@ public class SubscriptionInfo implements Parcelable { /** * Returns the card string of the SIM card which contains the subscription. * * Starting with API level 30, returns the card string if the calling app has been granted the * READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * Starting with API level 29 Security Patch 2021-04-05, returns the card string if the calling * app has been granted the READ_PRIVILEGED_PHONE_STATE permission, has carrier privileges (see * {@link TelephonyManager#hasCarrierPrivileges}), or is a device owner or profile owner that * has been granted the READ_PHONE_STATE permission. The profile owner is an app that owns a * managed profile on the device; for more details see <a Loading