Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebc4331c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove sending broadcast when StatsLogProcessor is being initialized as...

Merge "Remove sending broadcast when StatsLogProcessor is being initialized as its clients have not started to receive broadcasts"
parents af55ba8c aab45c1d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -72,9 +72,6 @@ StatsLogProcessor::StatsLogProcessor(const sp<UidMap>& uidMap,
      mAnomalyMonitor(anomalyMonitor),
      mSendBroadcast(sendBroadcast),
      mTimeBaseSec(timeBaseSec) {
    // On each initialization of StatsLogProcessor, check stats-data directory to see if there is
    // any left over data to be read.
    StorageManager::sendBroadcast(STATS_DATA_DIR, mSendBroadcast);
    StatsPullerManager statsPullerManager;
    statsPullerManager.SetTimeBaseSec(mTimeBaseSec);
}