Don't block call from contacts

This commit is contained in:
xynngh 2020-05-07 18:24:28 +04:00
parent 28b7a9ca55
commit 6bd09c89c2
1 changed files with 2 additions and 2 deletions

View File

@ -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) {