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

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

Change-Id: I12b67b89c66ce14c96186d8e1f1ba024a4c6971a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Tyler Gunn
2022-08-17 00:42:33 +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