Loading system/gd/storage/storage_module.cc +2 −2 Original line number Diff line number Diff line Loading @@ -178,10 +178,10 @@ void StorageModule::Start() { // Cleanup temporary pairings if we have left guest mode if (!com::android::bluetooth::flags::guest_mode_bond() && !is_restricted_mode_) { config->RemoveSectionWithProperty("Restricted"); pimpl_->cache_.RemoveSectionWithProperty("Restricted"); } config->FixDeviceTypeInconsistencies(); pimpl_->cache_.FixDeviceTypeInconsistencies(); if (bluetooth::os::ParameterProvider::GetBtKeystoreInterface() != nullptr) { bluetooth::os::ParameterProvider::GetBtKeystoreInterface() ->ConvertEncryptOrDecryptKeyIfNeeded(); Loading system/gd/storage/storage_module_test.cc +1 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,7 @@ static const std::string kReadTestConfig = "[01:02:03:ab:cd:ea]\n" "Name = hello world\n" "LinkKey = fedcba0987654321fedcba0987654328\n" "DevType = 1\n" "\n"; TEST_F(StorageModuleTest, read_existing_config_test) { Loading Loading
system/gd/storage/storage_module.cc +2 −2 Original line number Diff line number Diff line Loading @@ -178,10 +178,10 @@ void StorageModule::Start() { // Cleanup temporary pairings if we have left guest mode if (!com::android::bluetooth::flags::guest_mode_bond() && !is_restricted_mode_) { config->RemoveSectionWithProperty("Restricted"); pimpl_->cache_.RemoveSectionWithProperty("Restricted"); } config->FixDeviceTypeInconsistencies(); pimpl_->cache_.FixDeviceTypeInconsistencies(); if (bluetooth::os::ParameterProvider::GetBtKeystoreInterface() != nullptr) { bluetooth::os::ParameterProvider::GetBtKeystoreInterface() ->ConvertEncryptOrDecryptKeyIfNeeded(); Loading
system/gd/storage/storage_module_test.cc +1 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,7 @@ static const std::string kReadTestConfig = "[01:02:03:ab:cd:ea]\n" "Name = hello world\n" "LinkKey = fedcba0987654321fedcba0987654328\n" "DevType = 1\n" "\n"; TEST_F(StorageModuleTest, read_existing_config_test) { Loading