Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bcde7af authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

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

am: 6d94f19b

Change-Id: I7e91441757b8eac3e6cb31ba1fc89cb816221202
parents c22d1184 6d94f19b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -811,7 +811,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;
        }
        }