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

Commit 0534efd2 authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am cf2da3d6: Don\'t hide end call button until call is disconnected

* commit 'cf2da3d64ae356a2684a18ffa9be10b3811bc680':
  Don't hide end call button until call is disconnected
parents dc3122e9 f778d96f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -259,7 +259,8 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>

        maybeShowManageConferenceCallButton();

        final boolean enableEndCallButton = Call.State.isConnectingOrConnected(callState) &&
        final boolean enableEndCallButton = (Call.State.isConnectingOrConnected(callState)
                || callState == Call.State.DISCONNECTING) &&
                callState != Call.State.INCOMING && mPrimary != null;
        // Hide the end call button instantly if we're receiving an incoming call.
        getUi().setEndCallButtonEnabled(