diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-04-12 12:58:14 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2019-04-12 12:58:14 -0700 |
commit | 26ac855b3c39925d235613f1f1d00f667708aacb (patch) | |
tree | 23871dd2a535eb3994f7e749aa54fa863661b394 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cd6dbf7e0ba31d2f0180c1d50809bca7a4c5f13f (diff) |
Fix re-installation via package uri-s
It is allowed to install a package via a "package" URI. This means that
if a package with the same name is already installed (for any user), please
(re-)install it for the current user.
This was broken as mPackageURI.getPath() does not work for such package
URIs. This call is only needed when we need to show UI, but for package
URIs we don't even new UI, hence we can move it for the "content" path.
Test: atest CtsPackageInstallTestCases
Bug: 117768093
Change-Id: I58d3abde22ae0a77aabe5068680fd0148d799776
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions