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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user