diff options
| author | 2022-08-08 13:31:36 +0100 | |
|---|---|---|
| committer | 2022-08-08 13:31:36 +0100 | |
| commit | 7fdc96aef4e098d2271ac3a8557bd8e1ad6827f3 (patch) | |
| tree | 88ab9998065bfaba455d62e06c3ef31941326035 /libs/androidfw/ResourceTimer.cpp | |
| parent | 82a9fa1667d919096af28f55da897e709b760aff (diff) | |
RESTRICT AUTOMERGE Prevent non-admin users from deleting system apps.
This addresses a security issue where the guest user can remove updates
for system apps.
With this CL, attempts to uninstall/downgrade system apps will fail if
attempted by a non-admin user, unless the DELETE_SYSTEM_APP flag is
specified.
This is a fixed version of ag/17400663, to address b/236578018.
Bug: 170646036
Test: manual, try uninstalling system app update as guest
Change-Id: I5eab215cba6528aa4316ed7b20bee544915c1486
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions