change a few more places to use the seconds display for log output (#7995)

This commit is contained in:
Devon Carew
2017-02-08 19:47:12 -08:00
committed by GitHub
parent 36c63e7024
commit b180caae4a
2 changed files with 3 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ class AndroidDevice extends Device {
if (!_checkForSupportedAdbVersion() || !_checkForSupportedAndroidVersion())
return false;
Status status = logger.startProgress('Installing ${apk.apkPath}...');
Status status = logger.startProgress('Installing ${apk.apkPath}...', expectSlowOperation: true);
String installOut = runCheckedSync(adbCommandForDevice(<String>['install', '-r', apk.apkPath]));
status.stop();
RegExp failureExp = new RegExp(r'^Failure.*$', multiLine: true);

View File

@@ -277,7 +277,8 @@ class HotRunner extends ResidentRunner {
if (result != 0)
return false;
}
Status devFSStatus = logger.startProgress('Syncing files to device...');
Status devFSStatus = logger.startProgress('Syncing files to device...',
expectSlowOperation: true);
int bytes = await _devFS.update(progressReporter: progressReporter,
bundle: assetBundle,
bundleDirty: rebuildBundle,