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

Commit 04908fcd authored by Nathan Harold's avatar Nathan Harold
Browse files

Update doc string for getForbiddenPlmns() to READ_PHONE_STATE

For whatever reason when I chose the permission for this API I
chose the internal READ_PRIVILEGED_PHONE_STATE. Updating this to
use the equivalent public permission (since this is a public API)
requires me to use READ_PHONE_STATE

Bug: 35261110
Test: docstring only change. Compilation
Change-Id: I3647271798b33040751905c13b20da727eacfd9b
parent 4a43598b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4240,7 +4240,7 @@ public class TelephonyManager {
     * Returns null if the query fails.
     *
     *
     * <p>Requires that the caller has READ_PRIVILEGED_PHONE_STATE
     * <p>Requires that the caller has READ_PHONE_STATE
     *
     * @return an array of forbidden PLMNs or null if not available
     */
@@ -4253,7 +4253,7 @@ public class TelephonyManager {
     * Returns null if the query fails.
     *
     *
     * <p>Requires that the calling app has READ_PRIVILEGED_PHONE_STATE
     * <p>Requires that the calling app has READ_PHONE_STATE
     *
     * @param subId subscription ID used for authentication
     * @param appType the icc application type, like {@link #APPTYPE_USIM}