Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dfd4203 authored by Erik Han's avatar Erik Han
Browse files

Update documentation to GetPhoneNumber with the security/privacy concerns

Change-Id: I00b863d4aff9354ea486bcecd8b67f33e9ee7972
parent 74ab3f49
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3952,6 +3952,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.