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

Commit 535bb718 authored by sqian's avatar sqian Committed by android-build-merger
Browse files

Merge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev am:...

Merge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev am: 46b82fd3 am: 4e3e6897
am: bf3c004b

Change-Id: Ic18e15e567af47b821373a43b8a99aac01fcd008
parents 3f2538fd bf3c004b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.hardware.radio.V1_4.EmergencyNumberSource;
import android.hardware.radio.V1_4.EmergencyServiceCategory;
import android.os.Parcel;
import android.os.Parcelable;
import android.telephony.CarrierConfigManager;
import android.telephony.PhoneNumberUtils;
import android.telephony.Rlog;

@@ -301,6 +302,9 @@ public final class EmergencyNumber implements Parcelable, Comparable<EmergencyNu
     * The character in the number string is only the dial pad
     * character('0'-'9', '*', '+', or '#'). For example: 911.
     *
     * If the number starts with carrier prefix, the carrier prefix is configured in
     * {@link CarrierConfigManager#KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY}.
     *
     * @return the dialing number.
     */
    public @NonNull String getNumber() {