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:
Nathan Harold
2017-04-14 13:13:11 -07:00
parent 4a43598bd6
commit 04908fcd17

View File

@@ -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}