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

Commit d3b9e607 authored by Chris Wren's avatar Chris Wren Committed by android-build-merger
Browse files

Merge \"Revert \"boost starred people to at least high importance\"\" into nyc-dev

am: f156ab3f

Change-Id: I66e7fb0d71ce8e52f2ec08dfdf07f14596a9e385
parents a844f8b2 f156ab3f
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());
        }
    }