Make device discovery asynchronous (#10803)
Migrates DeviceDiscovery.devices and all device-specific lookup to be asynchronous.
This commit is contained in:
@@ -48,7 +48,7 @@ class AndroidDevices extends PollingDeviceDiscovery {
|
||||
bool get canListAnything => androidWorkflow.canListDevices;
|
||||
|
||||
@override
|
||||
List<Device> pollingGetDevices() => getAdbDevices();
|
||||
Future<List<Device>> pollingGetDevices() async => getAdbDevices();
|
||||
}
|
||||
|
||||
class AndroidDevice extends Device {
|
||||
|
||||
Reference in New Issue
Block a user