Merge "Fix to read Tethering APN data terminated by empty parameters correctly" am: 6d94f19b54

am: 7bcde7af33

Change-Id: Ic3acff8a400bca4fcd742c8100667172a0e5a7fe
This commit is contained in:
Jack Yu
2018-08-27 17:33:00 -07:00
committed by android-build-merger

View File

@@ -811,7 +811,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;
}