diff options
| author | 2017-04-14 13:13:11 -0700 | |
|---|---|---|
| committer | 2017-04-17 17:31:32 +0000 | |
| commit | f5144f742af9530e6c290b581f9d95fa724cfdbc (patch) | |
| tree | ecc639d869ad4101d0c3bfd9744759d9cedebced | |
| parent | ff97ea2eefd8cc54f09a8c4f1cab4ec3d69832e4 (diff) | |
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
Merged-In: I3647271798b33040751905c13b20da727eacfd9b
Change-Id: I3647271798b33040751905c13b20da727eacfd9b
(cherry picked from commit 04908fcd1759b0818017cc3ebfedc7d9aa8eecc1)
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index f9b754b0ead2..fa0d8eccb22b 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -4408,7 +4408,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 */ @@ -4421,7 +4421,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} |