Commit a106f504 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Make flutter drive await app reinstall (#11029)

parent 1731a16d
...@@ -232,8 +232,8 @@ Future<LaunchResult> _startApp(DriveCommand command) async { ...@@ -232,8 +232,8 @@ Future<LaunchResult> _startApp(DriveCommand command) async {
final ApplicationPackage package = command.applicationPackages final ApplicationPackage package = command.applicationPackages
.getPackageForPlatform(await command.device.targetPlatform); .getPackageForPlatform(await command.device.targetPlatform);
if (await command.device.isAppInstalled(package)) if (await command.device.isAppInstalled(package))
command.device.uninstallApp(package); await command.device.uninstallApp(package);
command.device.installApp(package); await command.device.installApp(package);
final Map<String, dynamic> platformArgs = <String, dynamic>{}; final Map<String, dynamic> platformArgs = <String, dynamic>{};
if (command.traceStartup) if (command.traceStartup)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment