Skip to content

Commit a8dfee8

Browse files
committed
CallScreeningService.kt: fix: ensure calls are allowed to proceed normally when not spam
1 parent 5530186 commit a8dfee8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main/java/com/addev/listaspam/service/CallScreeningService.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ class CallScreeningService : CallScreeningService() {
2323
spamUtils.checkSpamNumber(this, null, details) { isSpam ->
2424
if (isSpam) {
2525
endCall(details)
26+
} else {
27+
// Allow the call to proceed normally
28+
respondToCall(
29+
details, CallResponse.Builder()
30+
.setDisallowCall(false)
31+
.build()
32+
)
2633
}
2734
}
2835
}

0 commit comments

Comments
 (0)