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

Commit 9745016e 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

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

Change-Id: Ibdc1eff19a3dcf13c56d2fc5eb6717ff03ad248d
parents c301e158 de11ad86
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();