Merge "Always send Adjustment for importance" into qt-dev
am: 37f27b53a8
Change-Id: Ic5af5a5d7d93afb35b5cd197ed6def811c6d41e7
This commit is contained in:
@@ -272,6 +272,9 @@ public class Assistant extends NotificationAssistantService {
|
|||||||
final int importance = entry.getImportance() < IMPORTANCE_LOW
|
final int importance = entry.getImportance() < IMPORTANCE_LOW
|
||||||
? entry.getImportance() : IMPORTANCE_LOW;
|
? entry.getImportance() : IMPORTANCE_LOW;
|
||||||
signals.putInt(KEY_IMPORTANCE, importance);
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user