Minor update canHandleType()

Bug: 232632618
Test: manual
Merged-In: I5e1ca1361dfe04cd484e585f095aff0c5ff2579f
Change-Id: I5e1ca1361dfe04cd484e585f095aff0c5ff2579f
This commit is contained in:
Ling Ma
2022-05-17 23:52:27 -07:00
committed by Jack Yu
parent 8a3803d401
commit d376b6b078

View File

@@ -1134,10 +1134,7 @@ public class ApnSetting implements Parcelable {
return false;
}
// DEFAULT can handle HIPRI.
if (hasApnType(type)) {
return true;
}
return false;
return hasApnType(type);
}
// Check whether the types of two APN same (even only one type of each APN is same).