Eliminate use of ideviceinfo in flutter_tools (#10804)

This libimobiledevice tool is no longer used anywhere in the flutter_tools codebase.
This commit is contained in:
Chris Bracken 2017-06-19 13:36:05 -07:00 committed by GitHub
parent 1d9f009579
commit 400a62d121

View File

@ -70,13 +70,6 @@ class IMobileDevice {
return await exitsHappyAsync(<String>['idevicename']);
}
/// Returns the value associated with the specified `ideviceinfo` key for a device.
///
/// If either the specified key or device does not exist, returns the empty string.
String getInfoForDevice(String deviceID, String key) {
return runSync(<String>['ideviceinfo', '-k', key, '-u', deviceID]).trim();
}
/// Starts `idevicesyslog` and returns the running process.
Future<Process> startLogger() => runCommand(<String>['idevicesyslog']);