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

Commit 263f4c1d authored by Daniel Bright's avatar Daniel Bright Committed by Android (Google) Code Review
Browse files

Merge "Set pdu session id to NOT_SET on exception"

parents ee65fa30 a3d13348
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2145,7 +2145,11 @@ public class DataConnection extends StateMachine {
                        loge("EVENT_ALLOCATE_PDU_SESSION_ID: asyncResult is null!");
                    } else {
                        Consumer<Integer> onAllocated = (Consumer<Integer>) asyncResult.userObj;
                        if (asyncResult.result == null) {
                        if (asyncResult.exception != null) {
                            loge("EVENT_ALLOCATE_PDU_SESSION_ID: exception",
                                    asyncResult.exception);
                            onAllocated.accept(PDU_SESSION_ID_NOT_SET);
                        } else if (asyncResult.result == null) {
                            loge("EVENT_ALLOCATE_PDU_SESSION_ID: result null, no id");
                            onAllocated.accept(PDU_SESSION_ID_NOT_SET);
                        } else {