mirror of
https://github.com/openharmony/miscservices_time.git
synced 2026-07-19 20:03:38 -04:00
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "pthread.h"
|
||||
#include "time_service.h"
|
||||
#include "time_zone_info.h"
|
||||
#include "time_zone_info.h"
|
||||
#include "time_common.h"
|
||||
#include "system_ability.h"
|
||||
#include "system_ability_definition.h"
|
||||
|
||||
@@ -464,7 +464,7 @@ void TimerManager::SetLocked(int type, std::chrono::nanoseconds when)
|
||||
void TimerManager::InsertAndBatchTimerLocked(std::shared_ptr<TimerInfo> alarm)
|
||||
{
|
||||
TIME_HILOGI(TIME_MODULE_SERVICE, "start");
|
||||
int64_t whichBatch = (alarm->flags & static_cast<uint32_t>(STANDALONE)) ? -1
|
||||
int64_t whichBatch = (alarm->flags & static_cast<uint32_t>(STANDALONE)) ? -1
|
||||
: AttemptCoalesceLocked(alarm->whenElapsed, alarm->maxWhenElapsed);
|
||||
TIME_HILOGI(TIME_MODULE_SERVICE, "whichBatch= %{public}" PRId64 "", whichBatch);
|
||||
if (whichBatch < 0) {
|
||||
|
||||
Reference in New Issue
Block a user