From 18350e409e723a1c466f59649e1ac6620793b6f8 Mon Sep 17 00:00:00 2001 From: Malcolm Chen Date: Wed, 12 Dec 2018 10:29:16 -0800 Subject: [PATCH] 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 Merged-In: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7 --- telephony/java/android/telephony/SubscriptionManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java index 7520f6434b04e..9c9ec577d7fc3 100644 --- a/telephony/java/android/telephony/SubscriptionManager.java +++ b/telephony/java/android/telephony/SubscriptionManager.java @@ -2391,7 +2391,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 @@ -2429,7 +2429,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 @@ -2465,7 +2465,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.