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

Commit 1bfc5190 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where self-managed calls play ringtone. " into oc-dev

parents 68d17c62 180e7383
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -116,6 +116,11 @@ public class Ringer {
            return isRingerAudible;
        }

        if (foregroundCall.isSelfManaged()) {
            Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Self-managed");
            return false;
        }

        stopCallWaiting();

        if (!shouldRingForContact(foregroundCall.getContactUri())) {
@@ -161,6 +166,11 @@ public class Ringer {
            return;
        }

        if (call.isSelfManaged()) {
            Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Self-managed");
            return;
        }

        Log.v(this, "Playing call-waiting tone.");

        stopRinging();