Merge "If device config has a NAS related message, also enable importance adjustments" into qt-qpr1-dev

This commit is contained in:
TreeHugger Robot
2019-07-29 17:27:52 +00:00
committed by Android (Google) Code Review

View File

@@ -1833,6 +1833,7 @@ public class NotificationManagerService extends SystemService {
}
if (properties.getKeyset()
.contains(SystemUiDeviceConfigFlags.NAS_DEFAULT_SERVICE)) {
mAssistants.allowAdjustmentType(Adjustment.KEY_IMPORTANCE);
mAssistants.resetDefaultAssistantsIfNecessary();
}
});