mirror of
https://gitlab.com/xynngh/YetAnotherCallBlocker.git
synced 2025-02-16 20:00:35 +01:00
Don't block call from contacts
This commit is contained in:
parent
28b7a9ca55
commit
6bd09c89c2
@ -57,8 +57,8 @@ public class CallReceiver extends BroadcastReceiver {
|
||||
NumberInfo numberInfo = DatabaseSingleton.getNumberInfo(incomingNumber);
|
||||
|
||||
boolean blocked = false;
|
||||
if (!isOnCall && numberInfo.rating == NumberInfo.Rating.NEGATIVE
|
||||
&& blockCalls) {
|
||||
if (blockCalls && !isOnCall && numberInfo.rating == NumberInfo.Rating.NEGATIVE
|
||||
&& numberInfo.contactItem == null) {
|
||||
blocked = rejectCall(context);
|
||||
|
||||
if (blocked) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user