Merge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
46b82fd3ce
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user