Merge "Fix to read Tethering APN data terminated by empty parameters correctly"

This commit is contained in:
Jack Yu
2018-08-27 21:04:56 +00:00
committed by Gerrit Code Review

View File

@@ -810,7 +810,7 @@ public class ApnSetting implements Parcelable {
version = 1;
}
String[] a = data.split("\\s*,\\s*");
String[] a = data.split("\\s*,\\s*", -1);
if (a.length < 14) {
return null;
}