Fix broken building offline-sdk-docs.
TelephonyManager#hasCarrierPrivileges(int) is hidden API so it shouldn't be referenced in public API descriptions. Bug: 120622105 Test: none Change-Id: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7
This commit is contained in:
@@ -2403,7 +2403,7 @@ public class SubscriptionManager {
|
||||
*
|
||||
* Caller will either have {@link android.Manifest.permission#MODIFY_PHONE_STATE}
|
||||
* permission or had carrier privilege permission on the subscriptions:
|
||||
* {@link TelephonyManager#hasCarrierPrivileges(int)} or
|
||||
* {@link TelephonyManager#hasCarrierPrivileges()} or
|
||||
* {@link #canManageSubscription(SubscriptionInfo)}
|
||||
*
|
||||
* @throws SecurityException if the caller doesn't meet the requirements
|
||||
@@ -2441,7 +2441,7 @@ public class SubscriptionManager {
|
||||
*
|
||||
* Caller will either have {@link android.Manifest.permission#MODIFY_PHONE_STATE}
|
||||
* permission or had carrier privilege permission on the subscriptions:
|
||||
* {@link TelephonyManager#hasCarrierPrivileges(int)} or
|
||||
* {@link TelephonyManager#hasCarrierPrivileges()} or
|
||||
* {@link #canManageSubscription(SubscriptionInfo)}
|
||||
*
|
||||
* @throws SecurityException if the caller doesn't meet the requirements
|
||||
@@ -2477,7 +2477,7 @@ public class SubscriptionManager {
|
||||
*
|
||||
* Caller will either have {@link android.Manifest.permission#READ_PHONE_STATE}
|
||||
* permission or had carrier privilege permission on the subscription.
|
||||
* {@link TelephonyManager#hasCarrierPrivileges(int)}
|
||||
* {@link TelephonyManager#hasCarrierPrivileges()}
|
||||
*
|
||||
* @throws SecurityException if the caller doesn't meet the requirements
|
||||
* outlined above.
|
||||
|
||||
Reference in New Issue
Block a user