diff options
| author | 2022-03-25 10:02:41 +0000 | |
|---|---|---|
| committer | 2022-03-30 14:02:19 +0000 | |
| commit | a7621e0ce00f1d140b375518e26cf75693314203 (patch) | |
| tree | 0a24206e01b0dddb5a22d92edce48fb69773efa9 /libs/androidfw/Util.cpp | |
| parent | 81f051eff46afa4bb3c9246baebe361397f7c584 (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.
This is a backport of ag/17352264.
Bug: 170646036
Test: manual, try uninstalling system app update as guest
Change-Id: I5bbaaf83d035c500bfc02ff4b9b0e7fb1e7c2feb
Merged-In: I4e959e296cca9bbdfc8fccc5e5e0e654ca524165
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions