Merge "Add isEmergencyApn" am: 660a94aea9 am: 01493ff22b am: e1d4aa1ab4

Change-Id: Ic894002df6680918098097eee6207336718156ef
This commit is contained in:
Automerger Merge Worker
2020-01-07 20:48:21 +00:00

View File

@@ -1055,6 +1055,11 @@ public class ApnSetting implements Parcelable {
return (mApnTypeBitmask & type) == type;
}
/** @hide */
public boolean isEmergencyApn() {
return hasApnType(TYPE_EMERGENCY);
}
/** @hide */
public boolean canHandleType(@ApnType int type) {
if (!mCarrierEnabled) {