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

Commit 45202e64 authored by Sarah Chin's avatar Sarah Chin
Browse files

Check for null when converting nullables

Test: manually verify setupDataCall request and response
Bug: 212328322
Change-Id: I3fe8dcca3900bf7a44bdb918eca9a6a7959653ed
Merged-In: I3fe8dcca3900bf7a44bdb918eca9a6a7959653ed
parent fbf600b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3632,7 +3632,8 @@ public class RILUtils {
                .setPduSessionId(result.pduSessionId)
                .setDefaultQos(convertHalQos(result.defaultQos))
                .setQosBearerSessions(qosSessions)
                .setSliceInfo(convertHalSliceInfo(result.sliceInfo))
                .setSliceInfo(result.sliceInfo == null ? null
                        : convertHalSliceInfo(result.sliceInfo))
                .setTrafficDescriptors(trafficDescriptors)
                .build();
    }