Loading system/bta/dm/bta_dm_sec_api.cc +6 −1 Original line number Diff line number Diff line Loading @@ -119,10 +119,15 @@ void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, /** This function removes a device from the security database list of peer * device. It manages unpairing even while connected */ tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) { if (!com::android::bluetooth::flags::remove_device_in_main_thread()) { bta_dm_remove_device(bd_addr); return BTA_SUCCESS; } do_in_main_thread(base::BindOnce(bta_dm_remove_device, bd_addr)); return BTA_SUCCESS; } /******************************************************************************* * * Function BTA_DmAddBleKey Loading Loading
system/bta/dm/bta_dm_sec_api.cc +6 −1 Original line number Diff line number Diff line Loading @@ -119,10 +119,15 @@ void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, /** This function removes a device from the security database list of peer * device. It manages unpairing even while connected */ tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) { if (!com::android::bluetooth::flags::remove_device_in_main_thread()) { bta_dm_remove_device(bd_addr); return BTA_SUCCESS; } do_in_main_thread(base::BindOnce(bta_dm_remove_device, bd_addr)); return BTA_SUCCESS; } /******************************************************************************* * * Function BTA_DmAddBleKey Loading