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

Commit 13f43603 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\\\"\\\"...

Merge \\\"Revert \\\"boost starred people to at least high importance\\\"\\\" into nyc-dev am: f156ab3f am: b6a19b1c
am: 8a3d68f1

Change-Id: Ibf278905d987847a628b0ff4c3e97f0532f0491a
parents d39fc92e 8a3d68f1
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());
        }
    }