Merge "docs: Cherrypicking GetPhoneNumber docs fix to tm-dev" into tm-dev am: 1664736433 am: 8793953ea9

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

Change-Id: Ie823d83240882b7002d7a664ae21c03d83e692f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Andrew Solovay
2022-10-31 21:58:03 +00:00
committed by Automerger Merge Worker

View File

@@ -3963,6 +3963,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.