Make device discovery asynchronous (#10803)

Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
This commit is contained in:
Chris Bracken
2017-06-16 17:47:06 -07:00
committed by GitHub
parent 41e1eb5c64
commit 972be9c8b4
8 changed files with 57 additions and 41 deletions

View File

@@ -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 {