mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
1d9f009579
commit
400a62d121
@ -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']);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user