OSDN Git Service

Add plumbing for merge failures and renable button. (3/4)
authorAnthony Lee <anthonylee@google.com>
Fri, 24 Apr 2015 22:25:29 +0000 (15:25 -0700)
committerAnthony Lee <anthonylee@google.com>
Tue, 28 Apr 2015 14:13:34 +0000 (07:13 -0700)
commit17455a3d39350a39eb995897929977d793358365
tree4765cf4b4edff6c8a96f1ecb02c6faef5b99d11a
parent2a550449bcb4a6cff2fa96f7e7bf147dc485d5eb
Add plumbing for merge failures and renable button. (3/4)

The merge failure is not plumbed up through any layer that
can trap the callback and act on it.  The first part of this
fix is to create that plumbing.  Then we need to reenable the
merge button. At this point in time, we leverage the fact
that forcing the call to reassess its capabilities will poke
the InCallUI to reenable the merge button. In the future, we
should plumb the merge failure all the way to InCallUI and
not only handle the button but display UI to the user. The UI
is currently being displayed by CallNotifier which is the wrong
place. See b/20530631 for more details.

Bug: 20229905
Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
telecomm/java/android/telecom/Connection.java
telecomm/java/android/telecom/ConnectionService.java
telecomm/java/android/telecom/ConnectionServiceAdapter.java
telecomm/java/android/telecom/ConnectionServiceAdapterServant.java
telecomm/java/android/telecom/RemoteConnectionService.java
telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl