Merge "Applies INSTALL_REPLACE_EXISTING outside of while loop" into qt-dev am: 723c206d52 am: 1b9f14008f
am: c8d5b96579
Change-Id: I50ed1b822c2265910b606c87a0a239fc85d63458
This commit is contained in:
@@ -2496,9 +2496,9 @@ class PackageManagerShellCommand extends ShellCommand {
|
||||
default:
|
||||
throw new IllegalArgumentException("Unknown option " + opt);
|
||||
}
|
||||
if (replaceExisting) {
|
||||
sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;
|
||||
}
|
||||
}
|
||||
if (replaceExisting) {
|
||||
sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;
|
||||
}
|
||||
return params;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user