Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbdfda7c authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Update javadocs for canManageSubscription.

Javadoc is accidentally modified in ag/20717989

Bug: 274289920
Test: atest CtsTelephonyTestCases
Change-Id: I9c5a7947c259597a19964c1084d61fe2f4a22b1d
parent a9e39d51
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3142,10 +3142,10 @@ public class SubscriptionManager {
     *
     *
     * Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
     * Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
     * true). To check for permissions for non-embedded subscription as well,
     * true). To check for permissions for non-embedded subscription as well,
     * see {@link android.telephony.TelephonyManager#hasCarrierPrivileges}.
     *
     *
     * @param info The subscription to check.
     * @param info The subscription to check.
     * @return whether the app is authorized to manage this subscription per its metadata.
     * @return whether the app is authorized to manage this subscription per its metadata.
     *
     * @see android.telephony.TelephonyManager#hasCarrierPrivileges
     * @see android.telephony.TelephonyManager#hasCarrierPrivileges
     */
     */
    public boolean canManageSubscription(SubscriptionInfo info) {
    public boolean canManageSubscription(SubscriptionInfo info) {
@@ -3159,12 +3159,12 @@ public class SubscriptionManager {
     *
     *
     * Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
     * Only supported for embedded subscriptions (if {@link SubscriptionInfo#isEmbedded} returns
     * true). To check for permissions for non-embedded subscription as well,
     * true). To check for permissions for non-embedded subscription as well,
     * see {@link android.telephony.TelephonyManager#hasCarrierPrivileges}.
     *
     *
     * @param info The subscription to check.
     * @param info The subscription to check.
     * @param packageName Package name of the app 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.
     * @return whether the app is authorized to manage this subscription per its access rules.
     *
     * @see android.telephony.TelephonyManager#hasCarrierPrivileges
     * @see android.telephony.TelephonyManager#hasCarrierPrivileges
     * @hide
     * @hide
     */
     */