commit | b74f796d11d2a6220e198eebbbf0944b2fd86d23 | [log] [tgz] |
---|---|---|
author | Edward Cunningham <ejc@google.com> | Wed Apr 07 17:00:45 2021 +0000 |
committer | Edward Cunningham <ejc@google.com> | Wed Apr 07 17:00:45 2021 +0000 |
tree | e8dbea988c73124cf44b7498029314d1e193a457 | |
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