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

Commit cd9786aa authored by Shuo Qian's avatar Shuo Qian Committed by android-build-merger
Browse files

Merge "Add a documentation in EmergencyNumber#getNumber"

am: 27c3d13f

Change-Id: Ic3d047f3ec396de5ae6384c83cb31a113aabdaa8
parents cb258ecb 27c3d13f
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() {