diff options
author | Dario Freni <dariofreni@google.com> | 2019-04-02 11:45:13 +0100 |
---|---|---|
committer | Dario Freni <dariofreni@google.com> | 2019-04-02 14:27:01 +0100 |
commit | c3e68eae01925dfa47027584cd2a8a63f419c787 (patch) | |
tree | a08a84dfec01e4cfc38bf4da37f413f54023d7d0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1d5f6d3b9e94dd512c9abe62c09999a77203df1d (diff) |
Use system user when installing APKs.
For Mainline module updates, this will effectively be the same operation
as installing the packages as a secondary user, since the packages are
preinstalled and preinstalled packages are visible to users. Also,
Mainline modules cannot be disabled per-user.
Since staged install are only issued by privileged apps having
INSTALL_PACKAGES permission, we believe this change is safe for the sake
of mainline.
Fix: 129397974
Bug: 129744602
Test: repro b/129397974 and verify install succeeds.
Change-Id: I5b388707848b6cdbf20511eea02a0c2abd768b86
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions