Merge \"Revert \"boost starred people to at least high importance\"\" into nyc-dev
am: f156ab3f3a
Change-Id: I94b88c83a7e63131e4dad93ea3e865a0bf945273
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user