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

Commit 7661e81f authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "Add logging and disconnect reason for null connections."

parents 2bf7f03e fba1a8e6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1436,8 +1436,9 @@ public abstract class ConnectionService extends Service {
        }
        Log.d(this, "createConnection, connection: %s", connection);
        if (connection == null) {
            Log.i(this, "createConnection, implementation returned null connection.");
            connection = Connection.createFailedConnection(
                    new DisconnectCause(DisconnectCause.ERROR));
                    new DisconnectCause(DisconnectCause.ERROR, "IMPL_RETURNED_NULL_CONNECTION"));
        }

        connection.setTelecomCallId(callId);