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

Skip to content
Commit 32f312ef authored by Thomas Stuart's avatar Thomas Stuart
Browse files

remove setCallIsSuppressedByDoNotDisturb in Ringer#shouldRingForContact

Dialer crashed due to a duplicate key exception. Upon inspection, the
call objects extras should not be manipulated in the Ringer class. Since
the call objects extras are already being set in
CallsManager#onCallFilteringComplete, the setter in shouldRingForContact
can be removed. This will eliminate any duplicate key bug.

Fixes: 279654232
Test:  manual tests (dnd off user alerted, dnd on call suppressed)
       testShouldRingForContact_CallShouldRing,
       testShouldRingForContact_CallSuppressed,
       testShouldRingForContact_matchesCallFilterIsAlreadyComputed
Change-Id: Ic30bbb15626bef43d0626f51d8f2b32737ca78df
parent 390a9d13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment