Fix BluetoothAdapter bug to enable Bluetooth Classic Advertising

PiperOrigin-RevId: 456609115
This commit is contained in:
aaronyujiaze
2022-06-22 14:28:52 -07:00
committed by Copybara-Service
parent 7046d24dfe
commit 75aa59d57e
3 changed files with 90 additions and 77 deletions
@@ -124,6 +124,11 @@ TEST(BluetoothAdapter, DISABLED_IsExtendedAdvertisingSupported) {
EXPECT_TRUE(bluetooth_adapter.IsExtendedAdvertisingSupported());
}
TEST(BluetoothAdapter, DISABLED_GetNameFromComputerName) {
BluetoothAdapter bluetooth_adapter;
EXPECT_TRUE(!bluetooth_adapter.GetNameFromComputerName().empty());
}
} // namespace
} // namespace windows
} // namespace nearby