• Todd Volkert's avatar
    Switch many `Device` methods to be async (#9587) · 60c5ffc1
    Todd Volkert authored
    `adb` can sometimes hang, which will in turn hang the Dart isolate if
    we're using `Process.runSync()`. This changes many of the `Device` methods
    to return `Future<T>` in order to allow them to use the async process
    methods. A future change will add timeouts to the associated calls so
    that we can properly alert the user to the hung `adb` process.
    
    This is work towards #7102, #9567
    60c5ffc1
zip.dart 3.44 KB