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

Commit fa119c59 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioService: fix isInCommunication()"

parents be8a0141 da1af765
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3884,7 +3884,8 @@ public class AudioService extends IAudioService.Stub
        IsInCall = telecomManager.isInCall();
        Binder.restoreCallingIdentity(ident);

        return (IsInCall || getMode() == AudioManager.MODE_IN_COMMUNICATION);
        return (IsInCall || getMode() == AudioManager.MODE_IN_COMMUNICATION ||
                getMode() == AudioManager.MODE_IN_CALL);
    }

    /**