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

Commit c840efcf authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

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

am: 7661e81f

Change-Id: Id1f754f62869c38499f30d6ee33046c89024efc6
parents f9eba1a1 7661e81f
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);