Merge "Always send Adjustment for importance" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-16 15:13:33 +00:00
committed by Android (Google) Code Review

View File

@@ -272,6 +272,9 @@ public class Assistant extends NotificationAssistantService {
final int importance = entry.getImportance() < IMPORTANCE_LOW
? entry.getImportance() : IMPORTANCE_LOW;
signals.putInt(KEY_IMPORTANCE, importance);
} else {
// Even if no change is made, send an identity adjustment for metric logging.
signals.putInt(KEY_IMPORTANCE, entry.getImportance());
}
}