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

Commit dff64e00 authored by Sandeep Kunta's avatar Sandeep Kunta Committed by Linux Build Service Account
Browse files

Update InCallUI about merge failure.

Update extras in call object when there is merge failure.
this is needed so that the event reaches InCallUi and merge
button will be re-enabled again.

Change-Id: I29a0f8f72aafcf8420b90da4ac90127fea8fd4e4
CRs-Fixed: 1048642
parent d9863f50
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -324,6 +324,11 @@ public class ConnectionServiceWrapper extends ServiceBinder {
                    // deliver the message anyway that they want. b/20530631.
                    Call call = mCallIdMapper.getCall(callId);
                    if (call != null) {
                        // Update extras so that event reaches to InCallUi and InCallUi
                        // updates merge button.
                        Bundle extras = new Bundle();
                        extras.putBoolean("update", true);
                        call.putExtras(Call.SOURCE_CONNECTION_SERVICE, extras);
                        // Just refresh the connection capabilities so that the UI
                        // is forced to reenable the merge button as the capability
                        // is still on the connection. Note when b/20530631 is fixed, we need