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

Commit b6a19b1c 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: I94b88c83a7e63131e4dad93ea3e865a0bf945273
parents 7318603f 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());
        }
    }