Fix initialization of last_loaded_notification_group_key_.
GitOrigin-RevId: 2c5b8bc28479446be6ed1f2e4070a046ca2bc1c4
This commit is contained in:
parent
064619044b
commit
ef59720681
@ -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 {
|
||||
|
Reference in New Issue
Block a user