diff options
author | Edward Cunningham <ejc@google.com> | 2021-04-07 17:00:45 +0000 |
---|---|---|
committer | Edward Cunningham <ejc@google.com> | 2021-04-07 17:00:45 +0000 |
commit | b74f796d11d2a6220e198eebbbf0944b2fd86d23 (patch) | |
tree | e8dbea988c73124cf44b7498029314d1e193a457 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 53bdb4b8c0bb0212ac9ced5acc9e75739f3c5383 (diff) |
Fix to allow self-updates without user action.
Check if the *current* installer package (ie. the session owner) is
allowed to install packages when deciding if user action is needed. We
were mistakenly checking the *existing* installer package (ie. installer
of record) instead, which prevented self-updates.
Bug: 184741940
Test: Manual with local test app.
Change-Id: Ie0aec7a34ead94788af462002d6dccf420f9f50b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions