Merge "Add isEmergencyApn"
This commit is contained in:
@@ -1055,6 +1055,11 @@ public class ApnSetting implements Parcelable {
|
|||||||
return (mApnTypeBitmask & type) == type;
|
return (mApnTypeBitmask & type) == type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
|
public boolean isEmergencyApn() {
|
||||||
|
return hasApnType(TYPE_EMERGENCY);
|
||||||
|
}
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
public boolean canHandleType(@ApnType int type) {
|
public boolean canHandleType(@ApnType int type) {
|
||||||
if (!mCarrierEnabled) {
|
if (!mCarrierEnabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user