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

Commit b40a1424 authored by Janne Grunau's avatar Janne Grunau
Browse files

RIL: fix protocol mismatch for DataConnectionState_v4

The apn got dropped in DataConnectionState v4.

Avoids UnknownHostExceptions in DataCallState.setLinkProperties().

Change-Id: Icd0a1ba1c77cead13b15b3749965edead5f59135
parent 133416fe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3171,7 +3171,9 @@ public class RIL extends BaseCommands implements CommandsInterface {
            dataCall.cid = p.readInt();
            dataCall.active = p.readInt();
            dataCall.type = p.readString();
            if (version < 4) {
                p.readString(); // APN - not used
            }
            String addresses = p.readString();
            if (!TextUtils.isEmpty(addresses)) {
                dataCall.addresses = addresses.split(" ");