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

Commit b6125edb 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: 46b82fd3

Change-Id: Id289846b5d80ef1f34aea767f5bcdc86c661bafd
parents 15195e08 46b82fd3
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() {