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

Commit cf27f685 authored by Abhijith Shastry's avatar Abhijith Shastry
Browse files

Notify blocked number provider after an emergency call.

BUG: 26989170
Change-Id: I07d90d7994448e7a247e97d45b8dd1f1bc65e434
parent cf80e1fb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ import android.telephony.TelephonyManager;
import android.text.TextUtils;

import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.telephony.AsyncEmergencyContactNotifier;
import com.android.internal.telephony.PhoneConstants;
import com.android.internal.telephony.TelephonyProperties;
import com.android.internal.util.IndentingPrintWriter;
@@ -900,6 +901,7 @@ public class CallsManager extends Call.ListenerBase
        if (call.isEmergencyCall()) {
            // Emergency -- CreateConnectionProcessor will choose accounts automatically
            call.setTargetPhoneAccount(null);
            new AsyncEmergencyContactNotifier(mContext).execute();
        }

        final boolean requireCallCapableAccountByHandle = mContext.getResources().getBoolean(