Merge "Fix to read Tethering APN data terminated by empty parameters correctly"
This commit is contained in:
@@ -810,7 +810,7 @@ public class ApnSetting implements Parcelable {
|
|||||||
version = 1;
|
version = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] a = data.split("\\s*,\\s*");
|
String[] a = data.split("\\s*,\\s*", -1);
|
||||||
if (a.length < 14) {
|
if (a.length < 14) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user