Unverified Commit 91e3a577 authored by Swift Kim's avatar Swift Kim Committed by GitHub

Remove unused code from android_device.dart (#95450)

parent 9d64e94a
...@@ -244,7 +244,6 @@ class AndroidDevice extends Device { ...@@ -244,7 +244,6 @@ class AndroidDevice extends Device {
AdbLogReader? _logReader; AdbLogReader? _logReader;
AdbLogReader? _pastLogReader; AdbLogReader? _pastLogReader;
AndroidDevicePortForwarder? _portForwarder;
List<String> adbCommandForDevice(List<String> args) { List<String> adbCommandForDevice(List<String> args) {
return <String>[_androidSdk.adbPath!, '-s', id, ...args]; return <String>[_androidSdk.adbPath!, '-s', id, ...args];
...@@ -845,7 +844,6 @@ class AndroidDevice extends Device { ...@@ -845,7 +844,6 @@ class AndroidDevice extends Device {
Future<void> dispose() async { Future<void> dispose() async {
_logReader?._stop(); _logReader?._stop();
_pastLogReader?._stop(); _pastLogReader?._stop();
await _portForwarder?.dispose();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment