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

Commit 875aefc5 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 am: c840efcf

am: 5d7c823e

Change-Id: I57395d052d284ca3b8071b71dc762c1147d1107a
parents 5c72a77b 5d7c823e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1466,8 +1466,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);