Refactor DeviceManager.findTargetDevices() and FlutterCommand.findAllTargetDevices(), and add a flag to not show prompt. (#112223)
This commit is contained in:
@@ -241,7 +241,7 @@ class FakeDeviceManager implements DeviceManager {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<List<Device>> findTargetDevices(FlutterProject? flutterProject, { Duration? timeout }) async {
|
||||
Future<List<Device>> findTargetDevices(FlutterProject? flutterProject, { Duration? timeout, bool promptUserToChooseDevice = true }) async {
|
||||
return devices;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user