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

Commit c11c6a02 authored by Tim Lin's avatar Tim Lin Committed by Sarah Chin
Browse files

Correct conversion for TrafficDescriptor

Bug: 212328322
Test: CF boot and check setup_data_call request.
Change-Id: I2b41242c9f1e997ceb26d61b893ecf60ef012051
parent 0b67d10c
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -1102,9 +1102,13 @@ public class RILUtils {
        android.hardware.radio.data.TrafficDescriptor td =
                new android.hardware.radio.data.TrafficDescriptor();
        td.dnn = trafficDescriptor.getDataNetworkName();
        if (trafficDescriptor.getOsAppId() == null) {
            td.osAppId = null;
        } else {
            android.hardware.radio.data.OsAppId osAppId = new android.hardware.radio.data.OsAppId();
            osAppId.osAppId = trafficDescriptor.getOsAppId();
            td.osAppId = osAppId;
        }
        return td;
    }