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

Commit 2e35b030 authored by Hall Liu's avatar Hall Liu Committed by Automerger Merge Worker
Browse files

Merge "Update docs for TelephonyManager#getServiceState" am: 66917569 am:...

Merge "Update docs for TelephonyManager#getServiceState" am: 66917569 am: a29952e2 am: 44435a21

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1474964

Change-Id: I4e502a4d3ea07940c13346b55802151d0efb349c
parents 6a4c6ea6 44435a21
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -10323,6 +10323,9 @@ public class TelephonyManager {
     * <p>If this object has been created with {@link #createForSubscriptionId}, applies to the
     * given subId. Otherwise, applies to {@link SubscriptionManager#getDefaultSubscriptionId()}
     *
     * If you want continuous updates of service state info, register a {@link PhoneStateListener}
     * via {@link #listen} with the {@link PhoneStateListener#LISTEN_SERVICE_STATE} event.
     *
     * <p>Requires Permission: {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
     * or that the calling app has carrier privileges (see {@link #hasCarrierPrivileges})
     * and {@link android.Manifest.permission#ACCESS_COARSE_LOCATION}.