[flutter_tools] Reland enable fast-start by default for Android (#48851)
This commit is contained in:
@@ -26,7 +26,8 @@ void main() {
|
||||
print('run: starting...');
|
||||
final Process run = await startProcess(
|
||||
path.join(flutterDirectory.path, 'bin', 'flutter'),
|
||||
<String>['run', '--verbose', '--disable-service-auth-codes', '-d', device.deviceId, 'lib/commands.dart'],
|
||||
// Fast start is disabled due to https://github.com/flutter/flutter/issues/48971.
|
||||
<String>['run', '--verbose', '--disable-service-auth-codes', '-d', device.deviceId, 'lib/commands.dart', '--no-fast-start'],
|
||||
);
|
||||
final StreamController<String> stdout = StreamController<String>.broadcast();
|
||||
run.stdout
|
||||
|
||||
@@ -25,8 +25,9 @@ void main() {
|
||||
section('Compile and run the tester app');
|
||||
Completer<void> firstNameFound = Completer<void>();
|
||||
Completer<void> secondNameFound = Completer<void>();
|
||||
// Fast start is disabled due to https://github.com/flutter/flutter/issues/48971.
|
||||
final Process runProcess = await _run(device: device, command:
|
||||
<String>['run', '--disable-service-auth-codes'], stdoutListener: (String line) {
|
||||
<String>['run', '--disable-service-auth-codes', '--no-fast-start'], stdoutListener: (String line) {
|
||||
if (line.contains(_kFirstIsolateName)) {
|
||||
firstNameFound.complete();
|
||||
} else if (line.contains(_kSecondIsolateName)) {
|
||||
|
||||
@@ -48,6 +48,8 @@ void main() {
|
||||
'run',
|
||||
'--machine',
|
||||
'--verbose',
|
||||
// Fast start is disabled due to https://github.com/flutter/flutter/issues/48971.
|
||||
'--no-fast-start',
|
||||
'-d',
|
||||
device.deviceId,
|
||||
'lib/commands.dart',
|
||||
|
||||
@@ -719,6 +719,8 @@ class ReportedDurationTest {
|
||||
print('launching $project$test on device...');
|
||||
await flutter('run', options: <String>[
|
||||
'--verbose',
|
||||
// Fast start is disabled due to https://github.com/flutter/flutter/issues/48971.
|
||||
'--no-fast-start',
|
||||
'--${_reportedDurationTestToString(flavor)}',
|
||||
'--no-resident',
|
||||
'-d', device.deviceId,
|
||||
|
||||
Reference in New Issue
Block a user