From 04908fcd1759b0818017cc3ebfedc7d9aa8eecc1 Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Fri, 14 Apr 2017 13:13:11 -0700 Subject: [PATCH] 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 --- telephony/java/android/telephony/TelephonyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 26d46ac9cb0c5..0b2cba66029f9 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -4240,7 +4240,7 @@ public class TelephonyManager { * Returns null if the query fails. * * - *

Requires that the caller has READ_PRIVILEGED_PHONE_STATE + *

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. * * - *

Requires that the calling app has READ_PRIVILEGED_PHONE_STATE + *

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}