Remove unused code from android_device.dart (#95450)

This commit is contained in:
Swift Kim 2022-01-21 07:55:18 +09:00 committed by GitHub
parent 9d64e94a87
commit 91e3a5772f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,6 @@ class AndroidDevice extends Device {
AdbLogReader? _logReader;
AdbLogReader? _pastLogReader;
AndroidDevicePortForwarder? _portForwarder;
List<String> adbCommandForDevice(List<String> args) {
return <String>[_androidSdk.adbPath!, '-s', id, ...args];
@ -845,7 +844,6 @@ class AndroidDevice extends Device {
Future<void> dispose() async {
_logReader?._stop();
_pastLogReader?._stop();
await _portForwarder?.dispose();
}
}