Remove the 'app' domain from flutter daemon (#18873)

* Remove the 'app' domain from flutter daemon

By default the daemon won't register the "app" domain, you need to opt-in (which the 'run' command does, as well as the tests for the app functionality).

Fixes #6658.

* Tweak text

* Put restart/callServiceExtension/stop back into daemon mode

* Add a comment about removing discoverApps
This commit is contained in:
Danny Tuppeny
2018-06-28 16:22:02 +01:00
committed by GitHub
parent 7e4038fe27
commit 108da01310
5 changed files with 11 additions and 137 deletions

View File

@@ -516,6 +516,9 @@ class AndroidDevice extends Device {
await runCheckedAsync(adbCommandForDevice(<String>['shell', 'rm', remotePath]));
}
// TODO(dantup): discoverApps is no longer used and can possibly be removed.
// Waiting for a response here:
// https://github.com/flutter/flutter/pull/18873#discussion_r198862179
@override
Future<List<DiscoveredApp>> discoverApps() async {
final RegExp discoverExp = new RegExp(r'DISCOVER: (.*)');