Make flutter drive await app reinstall (#11029)
This commit is contained in:
committed by
GitHub
parent
1731a16d81
commit
a106f504c7
@@ -232,8 +232,8 @@ Future<LaunchResult> _startApp(DriveCommand command) async {
|
||||
final ApplicationPackage package = command.applicationPackages
|
||||
.getPackageForPlatform(await command.device.targetPlatform);
|
||||
if (await command.device.isAppInstalled(package))
|
||||
command.device.uninstallApp(package);
|
||||
command.device.installApp(package);
|
||||
await command.device.uninstallApp(package);
|
||||
await command.device.installApp(package);
|
||||
|
||||
final Map<String, dynamic> platformArgs = <String, dynamic>{};
|
||||
if (command.traceStartup)
|
||||
|
||||
Reference in New Issue
Block a user