diff options
author | Ihab Awad <ihab@google.com> | 2014-08-13 18:17:29 -0700 |
---|---|---|
committer | Ihab Awad <ihab@google.com> | 2014-08-14 15:01:02 -0700 |
commit | 621cd325d57a93a6d0f7afef69e24f6b18bcfb72 (patch) | |
tree | 3be46e0ec05df7d1da509087c1578ed918f2bd49 /telecomm | |
parent | fbc88e19cb77c303b47a427a40123ccf4ba5cca7 (diff) | |
download | frameworks_base-621cd325d57a93a6d0f7afef69e24f6b18bcfb72.zip frameworks_base-621cd325d57a93a6d0f7afef69e24f6b18bcfb72.tar.gz frameworks_base-621cd325d57a93a6d0f7afef69e24f6b18bcfb72.tar.bz2 |
Fix problems with wiring of initializing calls (1/2)
Bug: 16993846
Change-Id: I3ed4dd30559511f51b3650bf99bd704ae73d2165
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecomm/ConnectionService.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/telecomm/java/android/telecomm/ConnectionService.java b/telecomm/java/android/telecomm/ConnectionService.java index d5e4f1b..f59b4ed 100644 --- a/telecomm/java/android/telecomm/ConnectionService.java +++ b/telecomm/java/android/telecomm/ConnectionService.java @@ -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); |