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

Commit 2ecfd880 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Prevent re-adding call disconnected before block check completes.

If call filtering completes AFTER a call is disconnected, it is possible
for the call to be re-added to telecom, which is not correct.

Bug: 31083479
Change-Id: I2053d1c7ea17fa634028bf3e118139f3ca342815
parent 9b1b4ff7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -375,6 +375,7 @@ public class CallsManager extends Call.ListenerBase
                    result.shouldAllowCall ? "successful incoming call" : "blocking call");
        } else {
            Log.i(this, "onCallFilteringCompleted: call already disconnected.");
            return;
        }

        if (result.shouldAllowCall) {