Fix initialization of last_loaded_notification_group_key_.

GitOrigin-RevId: 2c5b8bc28479446be6ed1f2e4070a046ca2bc1c4
This commit is contained in:
levlam 2018-12-17 19:19:05 +03:00
parent 064619044b
commit ef59720681

View File

@ -119,9 +119,8 @@ void NotificationManager::start_up() {
on_notification_cloud_delay_changed();
on_notification_default_delay_changed();
last_loaded_notification_group_key_.last_notification_date = std::numeric_limits<int32>::max();
if (max_notification_group_count_ != 0) {
last_loaded_notification_group_key_.last_notification_date = std::numeric_limits<int32>::max();
int32 loaded_groups = 0;
int32 needed_groups = static_cast<int32>(max_notification_group_count_);
do {