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

Commit daea1ed1 authored by Andrew Solovay's avatar Andrew Solovay Committed by Automerger Merge Worker
Browse files

Merge "docs: Adding note to getPhoneNumber(int)" into tm-dev am: 0471cade...

Merge "docs: Adding note to getPhoneNumber(int)" into tm-dev am: 0471cade am: 91f82f9c am: 55331d3f

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



Change-Id: I75fee31ac396069ef4d9077a77050232014bd5ec
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9b9bf824 55331d3f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4022,6 +4022,10 @@ public class SubscriptionManager {
     * cautiously, for example, after formatting the number to a consistent format with
     * {@link android.telephony.PhoneNumberUtils#formatNumberToE164(String, String)}.
     *
     * <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.
     * @return the phone number, or an empty string if not available.