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

Commit fb074ef7 authored by Grace Jia's avatar Grace Jia Committed by Android (Google) Code Review
Browse files

Merge "Silence the call when call is blocked." into udc-qpr-dev

parents 36502abc 5ba0b6b7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ public class BlockCheckerFilter extends CallFilter {
                    .setShouldReject(true)
                    .setShouldAddToCallLog(true)
                    .setShouldShowNotification(false)
                    .setShouldSilence(true)
                    .setCallBlockReason(getBlockReason(blockStatus))
                    .setCallScreeningAppName(null)
                    .setCallScreeningComponentName(null)
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ public class BlockCheckerFilterTest extends TelecomTestCase {
    private static final CallFilteringResult BLOCK_RESULT = new CallFilteringResult.Builder()
            .setShouldAllowCall(false)
            .setShouldReject(true)
            .setShouldSilence(true)
            .setShouldAddToCallLog(true)
            .setShouldShowNotification(false)
            .setCallBlockReason(CallLog.Calls.BLOCK_REASON_BLOCKED_NUMBER)