Merge "Fix to read Tethering APN data terminated by empty parameters correctly"
am: 6d94f19b54
Change-Id: I7e91441757b8eac3e6cb31ba1fc89cb816221202
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user