Merge "Update API docs for TelephonyManager#registerTelephonyCallback." am: c4cfeaf45f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2152934 Change-Id: I2eacf02ece16c583302749b74a69865822198014 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -16193,7 +16193,12 @@ public class TelephonyManager {
|
|||||||
* the appropriate callback method on the callback object and passes the current (updated)
|
* the appropriate callback method on the callback object and passes the current (updated)
|
||||||
* values.
|
* values.
|
||||||
* <p>
|
* <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},
|
* If this TelephonyManager object has been created with {@link #createForSubscriptionId},
|
||||||
* applies to the given subId. Otherwise, applies to
|
* applies to the given subId. Otherwise, applies to
|
||||||
* {@link SubscriptionManager#getDefaultSubscriptionId()}. To register events for multiple
|
* {@link SubscriptionManager#getDefaultSubscriptionId()}. To register events for multiple
|
||||||
|
|||||||
Reference in New Issue
Block a user