diff options
| author | 2022-08-16 21:45:45 +0000 | |
|---|---|---|
| committer | 2022-08-16 21:45:45 +0000 | |
| commit | c4cfeaf45f2cea6fcf97d029345e80c1f90124cf (patch) | |
| tree | 94c6cd0aa05d90fea98e4712df0f7e3b467e3ee6 | |
| parent | 258ded61cdeafe20136f3450536675b6f518dca3 (diff) | |
| parent | 90af8af5125ab4c2f76157d4fb1b438122cc5ceb (diff) | |
Merge "Update API docs for TelephonyManager#registerTelephonyCallback."
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 0404b7fb7ff8..fd738d2b531c 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -16193,7 +16193,12 @@ public class TelephonyManager { * the appropriate callback method on the callback object and passes the current (updated) * values. * <p> - * + * Note: Be aware of the permission requirements stated on the {@link TelephonyCallback} + * listeners you implement. Your application must be granted these permissions in order to + * register a {@link TelephonyCallback} which requires them; a {@link SecurityException} will be + * thrown if you do not hold the required permissions for all {@link TelephonyCallback} + * listeners you implement. + * <p> * If this TelephonyManager object has been created with {@link #createForSubscriptionId}, * applies to the given subId. Otherwise, applies to * {@link SubscriptionManager#getDefaultSubscriptionId()}. To register events for multiple |