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

Commit 78fc9220 authored by Ihab Awad's avatar Ihab Awad Committed by Android (Google) Code Review
Browse files

Merge "Fix problems with wiring of initializing calls (1/2)" into lmp-dev

parents bd431ee5 621cd325
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -481,15 +481,12 @@ public abstract class ConnectionService extends Service {
                            case Connection.STATE_INITIALIZING:
                                Log.d(this, "State changed to STATE_INITIALIZING; ignoring");
                                return; // Don't want to stop listening on this state transition.
                            default:
                                Log.d(this, "Connection created in state %s",
                                        Connection.stateToString(state));
                                connectionCreated(callId, request, createdConnection);
                                break;
                        }
                        c.removeConnectionListener(this);
                    }
                });
                Log.d(this, "Connection created in state INITIALIZING");
                connectionCreated(callId, request, createdConnection);
            } else if (createdConnection.getState() == Connection.STATE_CANCELED) {
                // Tell telecomm not to attempt any more services.
                mAdapter.handleCreateConnectionCancelled(callId, request);