Merge "Update documentation to GetPhoneNumber with the security/privacy concerns" am: d1450e4e61 am: ce9e379a8a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2241332 Change-Id: Ibd8a7f2d6ac210197d402fbfc098b2a147d925d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3962,6 +3962,10 @@ public class SubscriptionManager {
|
|||||||
* may provide one. Or, a carrier may decide to provide the phone number via source
|
* may provide one. Or, a carrier may decide to provide the phone number via source
|
||||||
* {@link #PHONE_NUMBER_SOURCE_CARRIER carrier} if neither source UICC nor IMS is available.
|
* {@link #PHONE_NUMBER_SOURCE_CARRIER carrier} if neither source UICC nor IMS is available.
|
||||||
*
|
*
|
||||||
|
* <p>The availability and correctness of the phone number depends on the underlying source
|
||||||
|
* and the network etc. Additional verification is needed to use this number for
|
||||||
|
* security-related or other sensitive scenarios.
|
||||||
|
*
|
||||||
* @param subscriptionId the subscription ID, or {@link #DEFAULT_SUBSCRIPTION_ID}
|
* @param subscriptionId the subscription ID, or {@link #DEFAULT_SUBSCRIPTION_ID}
|
||||||
* for the default one.
|
* for the default one.
|
||||||
* @param source the source of the phone number, one of the PHONE_NUMBER_SOURCE_* constants.
|
* @param source the source of the phone number, one of the PHONE_NUMBER_SOURCE_* constants.
|
||||||
|
|||||||
Reference in New Issue
Block a user