summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aishwarya Mallampati <amallampati@google.com> 2023-03-31 01:11:54 +0000
committer Aishwarya Mallampati <amallampati@google.com> 2023-04-11 23:10:27 +0000
commitbbdfda7c24213fbcd8924d0ef331fd09cf03d930 (patch)
treef26c8618a706c0225d0f48ec28aecd83c833833c
parenta9e39d513c7b6283c2b19f3b4468f1221f0078aa (diff)
Update javadocs for canManageSubscription.
Javadoc is accidentally modified in ag/20717989 Bug: 274289920 Test: atest CtsTelephonyTestCases Change-Id: I9c5a7947c259597a19964c1084d61fe2f4a22b1d
-rw-r--r--telephony/java/android/telephony/SubscriptionManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java
index 78c61964edfd..559faf9b20de 100644
--- a/telephony/java/android/telephony/SubscriptionManager.java
+++ b/telephony/java/android/telephony/SubscriptionManager.java
@@ -3142,10 +3142,10 @@ public class SubscriptionManager {
*
* Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
* true). To check for permissions for non-embedded subscription as well,
+ * see {@link android.telephony.TelephonyManager#hasCarrierPrivileges}.
*
* @param info The subscription to check.
* @return whether the app is authorized to manage this subscription per its metadata.
- *
* @see android.telephony.TelephonyManager#hasCarrierPrivileges
*/
public boolean canManageSubscription(SubscriptionInfo info) {
@@ -3159,12 +3159,12 @@ public class SubscriptionManager {
*
* Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
* true). To check for permissions for non-embedded subscription as well,
+ * see {@link android.telephony.TelephonyManager#hasCarrierPrivileges}.
*
* @param info The subscription to check.
* @param packageName Package name of the app to check.
*
* @return whether the app is authorized to manage this subscription per its access rules.
- *
* @see android.telephony.TelephonyManager#hasCarrierPrivileges
* @hide
*/