diff --git a/packages/flutter_tools/lib/src/android/android_device.dart b/packages/flutter_tools/lib/src/android/android_device.dart index 85035a9342..6cdc73e5ce 100644 --- a/packages/flutter_tools/lib/src/android/android_device.dart +++ b/packages/flutter_tools/lib/src/android/android_device.dart @@ -381,7 +381,7 @@ class AndroidDevice extends Device { if (tracePath != null) { String localPath = (outPath != null) ? outPath : path.basename(tracePath); - // Run cat via ADB to print the captured trace file. (adb pull will be unable + // Run cat via ADB to print the captured trace file. (adb pull will be unable // to access the file if it does not have root permissions) IOSink catOutput = new File(localPath).openWrite(); List catCommand = adbCommandForDevice( @@ -566,6 +566,10 @@ class _AdbLogReader extends DeviceLogReader { } void _onLine(String line) { + // Filter out some noisy ActivityManager notifications. + if (line.startsWith('W/ActivityManager: getRunningAppProcesses')) + return; + _linesStreamController.add(line); }