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

Commit c977f81d authored by Chris Wren's avatar Chris Wren
Browse files

Revert "boost starred people to at least high importance"

This reverts commit 7e431621.

Change-Id: I69e06505f79ecb9e2983cec0d0dcddb7979a3f94
parent 7e431621
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -318,12 +318,8 @@ public final class NotificationRecord {

    public void setContactAffinity(float contactAffinity) {
        mContactAffinity = contactAffinity;
        if (mImportance < IMPORTANCE_HIGH &&
                mContactAffinity >= ValidateNotificationPeople.STARRED_CONTACT) {
            setImportance(IMPORTANCE_HIGH, getPeopleExplanation());
        }
        if (mImportance < IMPORTANCE_DEFAULT &&
                mContactAffinity >= ValidateNotificationPeople.VALID_CONTACT) {
                mContactAffinity > ValidateNotificationPeople.VALID_CONTACT) {
            setImportance(IMPORTANCE_DEFAULT, getPeopleExplanation());
        }
    }