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

Commit 481b69d9 authored by Priyanka Advani (xWF)'s avatar Priyanka Advani (xWF) Committed by Gerrit Code Review
Browse files

Merge "Revert "gd: Remove CounterMetrics as dependency of StorageModule"" into main

parents 3072b2ae 5a371175
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_);