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

Commit f20eb6ed authored by Qi Wang's avatar Qi Wang Committed by Android (Google) Code Review
Browse files

Merge "Don't show spam indicator if incoming call number is in local contacts."

parents 4f78f85a 3490941c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -242,6 +242,10 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener,
        }

        final int callState = call.getState();
        // Dont' show as spam if the number is in local contact.
        if (contactInfo.contactLookupResult == Call.LogState.LOOKUP_LOCAL_CONTACT) {
            call.setSpam(false);
        }

        // Check if data has changed; if nothing is different, don't issue another notification.
        final int iconResId = getIconToDisplay(call);