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

Commit 042b2cf2 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

GD Storage: Call SaveDelayed on the right thread am: c1efff4f am: de11ad86 am: 9745016e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1678469

Change-Id: I62f65aea869d9a377862e9b10f71c3ee65649857
parents aa876f74 9745016e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ void StorageModule::Start() {
    config->SetProperty(kInfoSection, kTimeCreatedProperty, ss.str());
  }
  config->FixDeviceTypeInconsistencies();
  config->SetPersistentConfigChangedCallback([this] { this->SaveDelayed(); });
  config->SetPersistentConfigChangedCallback([this] { this->CallOn(this, &StorageModule::SaveDelayed); });
  // TODO (b/158035889) Migrate metrics module to GD
  pimpl_ = std::make_unique<impl>(GetHandler(), std::move(config.value()), temp_devices_capacity_);
  SaveDelayed();