Start FidoDeviceDiscovery asynchronously
Callback for BluetoothAdapterFactory::GetAdapter() may be invoked synchronously for ChromeOS devices. This results in discovery of FidoBleDevices that were already known to BluetoothAdapter not being notified to UI embedder, and WebAuthN UI would not show new Bluetooth devices on device selection view --even when FidoBleDevices are discovered. To avoid such hairpinning, invoke FidoDeviceDiscovery::StartInternal asynchronously. Bug: 823686 Change-Id: Idc6c4d1d12d76a15118f15366e734325ba1819c0 Reviewed-on: https://chromium-review.googlesource.com/c/1300798 Commit-Queue: Jun Choi <hongjunchoi@chromium.org> Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#603216}
Showing
Please register or sign in to comment