Minor update canHandleType()

Bug: 232632618
Test: manual
Change-Id: I5e1ca1361dfe04cd484e585f095aff0c5ff2579f
This commit is contained in:
Ling Ma
2022-05-17 23:52:27 -07:00
parent e86b8edc91
commit 59e996dd23

View File

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