Merge "Update API docs for TelephonyManager#registerTelephonyCallback." am: c4cfeaf45f am: 5f8a8ad5ff am: 7b7155e281 am: 6ba37fe3b4

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2152934

Change-Id: I8d7be9680a920968321b18f8e4fec04925e5229f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Tyler Gunn
2022-08-17 01:04:16 +00:00
committed by Automerger Merge Worker

View File

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