forked from firka/flutter
Add timeout flag to devices command, pipe through discovery (#51678)
This commit is contained in:
@@ -76,7 +76,7 @@ class LinuxDevices extends PollingDeviceDiscovery {
|
||||
bool get canListAnything => _linuxWorkflow.canListDevices;
|
||||
|
||||
@override
|
||||
Future<List<Device>> pollingGetDevices() async {
|
||||
Future<List<Device>> pollingGetDevices({ Duration timeout }) async {
|
||||
if (!canListAnything) {
|
||||
return const <Device>[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user