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

Commit 145e0a46 authored by Pengquan Meng's avatar Pengquan Meng Committed by android-build-merger
Browse files

Merge "Show error dialog only when 'ask first' is not set"

am: b092b90d

Change-Id: I18baabafcbfb59de4ff09e8d072cba5181bddeab
parents bb69d593 b092b90d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3064,7 +3064,7 @@ public class CallsManager extends Call.ListenerBase
    */
    private void maybeShowErrorDialogOnDisconnect(Call call) {
        if (call.getState() == CallState.DISCONNECTED && (isPotentialMMICode(call.getHandle())
                || isPotentialInCallMMICode(call.getHandle()))) {
                || isPotentialInCallMMICode(call.getHandle())) && !mCalls.contains(call)) {
            DisconnectCause disconnectCause = call.getDisconnectCause();
            if (!TextUtils.isEmpty(disconnectCause.getDescription()) && (disconnectCause.getCode()
                    == DisconnectCause.ERROR)) {