diff options
author | Shriram Ganesh <sganesh@codeaurora.org> | 2015-12-01 16:15:48 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-01 01:10:41 -0700 |
commit | bce16cb702f80b15bc70f078507c25c456729758 (patch) | |
tree | bf6090a890e453e6d3ef73022d4367733abb3fbb | |
parent | 51fed81985c59014c804d600dde8b2ce1e7c8e25 (diff) | |
download | android_packages_services_Telecomm-bce16cb702f80b15bc70f078507c25c456729758.tar.gz android_packages_services_Telecomm-bce16cb702f80b15bc70f078507c25c456729758.tar.bz2 android_packages_services_Telecomm-bce16cb702f80b15bc70f078507c25c456729758.zip |
Fix disabled merge button on conference failure.
There is currently no direct plumbing of the conference failure
to InCallUI. Instead it depends on the capabilities refresh.
In the conference failure scenario, there is no such change
and as a result the merge button remains greyed out until a
subsequent update using state or extras. The fix here is to
create a dummy extra to refresh the UI.
Change-Id: Id487418aa4729f822ba0a19661805e1bf3ccbb6a
CRs-Fixed: 931958
-rw-r--r-- | src/com/android/server/telecom/ConnectionServiceWrapper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/server/telecom/ConnectionServiceWrapper.java b/src/com/android/server/telecom/ConnectionServiceWrapper.java index a7b698a0..55eba5d2 100644 --- a/src/com/android/server/telecom/ConnectionServiceWrapper.java +++ b/src/com/android/server/telecom/ConnectionServiceWrapper.java @@ -360,6 +360,9 @@ final class ConnectionServiceWrapper extends ServiceBinder { // the failure event all the way to InCallUI instead of stopping // it here. That way we can also handle the UI of notifying that // the merged has failed. + Bundle extras = call.getExtras(); + extras.putInt("MergeFail", new java.util.Random().nextInt()); + call.setExtras(extras); mCallsManager.onMergeFailed(call); } else { Log.w(this, "setConferenceMergeFailed, unknown call id: %s", callId); |