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

Commit 516dcdbd authored by Hall Liu's avatar Hall Liu
Browse files

Add null check in enterBackgroundAudioProcessing

Add a null check so that enterBackgroundAudioProcessing doesn't fail

Bug: 143377914
Test: CTS
Change-Id: I7723f720ec885d04c10b482aaeb724861e130500
parent 72cf4fb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2039,7 +2039,7 @@ public class CallsManager extends Call.ListenerBase
        }

        Call activeCall = getActiveCall();
        if (activeCall != call) {
        if (activeCall != null && activeCall != call) {
            Log.w(this, "Ignoring enter audio processing because there's already a call active");
            return;
        }