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

Commit 5a371175 authored by Chaitanya Cheemala (xWF)'s avatar Chaitanya Cheemala (xWF) Committed by Gerrit Code Review
Browse files

Revert "gd: Remove CounterMetrics as dependency of StorageModule"

This reverts commit ac3b9752.

Reason for revert: Likely culprit for b/386842159  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I1be212ff3f1775ccd99871fee20fa288306bf856
parent ac3b9752
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include <utility>

#include "common/bind.h"
#include "metrics/counter_metrics.h"
#include "os/alarm.h"
#include "os/files.h"
#include "os/handler.h"
@@ -143,7 +144,9 @@ void StorageModule::Clear() {
  pimpl_->cache_.Clear();
}

void StorageModule::ListDependencies(ModuleList* /*list*/) const {}
void StorageModule::ListDependencies(ModuleList* list) const {
  list->add<metrics::CounterMetrics>();
}

void StorageModule::Start() {
  std::lock_guard<std::recursive_mutex> lock(mutex_);