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