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

Commit 01a79c43 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

RIL: Fix datacall parcel reading

MTU is a field introduced by QC in "v11". Don't use it in older
API versions

Change-Id: Ib9f37d2b58c4e93e0223ff356071f820092faaa2
parent 10701b7f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3927,9 +3927,11 @@ public class RIL extends BaseCommands implements CommandsInterface {
                if (!TextUtils.isEmpty(pcscf)) {
                    dataCall.pcscf = pcscf.split(" ");
                }
                if (version >= 11) {
                    dataCall.mtu = p.readInt();
                }
            }
        }
        return dataCall;
    }