diff options
| author | 2022-10-27 00:08:17 +0000 | |
|---|---|---|
| committer | 2022-10-27 00:08:17 +0000 | |
| commit | 6bf945d20f7804013d956eb63fd2993e2bc67bc0 (patch) | |
| tree | 654075e659a59ac9def36e49221374094d11d14e | |
| parent | 23f2e0ec968223fe294531379578370cbd83ee85 (diff) | |
| parent | 9d1eb6ac7b07a98f93b08533003b86fdae705288 (diff) | |
Merge "Update documentation to GetPhoneNumber with the security/privacy concerns" am: d1450e4e61 am: ce9e379a8a am: 9d1eb6ac7b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2241332
Change-Id: I1ada77b875c64901cc02a1e42712ae3f1ee19499
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | telephony/java/android/telephony/SubscriptionManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java index 34770c6da849..ef693b5278a0 100644 --- a/telephony/java/android/telephony/SubscriptionManager.java +++ b/telephony/java/android/telephony/SubscriptionManager.java @@ -3942,6 +3942,10 @@ public class SubscriptionManager { * 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. * + * <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} * for the default one. * @param source the source of the phone number, one of the PHONE_NUMBER_SOURCE_* constants. |