commit | 9f80a96941de44a30243318c1b35dfbc6cf8fa35 | [log] [tgz] |
---|---|---|
author | Oli Lan <olilan@google.com> | Fri Mar 25 18:24:39 2022 +0000 |
committer | Justin Dunlap <justindunlap@google.com> | Mon May 02 21:29:56 2022 +0000 |
tree | fca83b4fff15352e30ed22188771bba040b07eef | |
parent | 3ba41b36f2f8f9b5253a2e94375515c278128ff9 [diff] |
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: I79c3bf303e729e00d8fb12c40330bc10c5ffec6e Merged-In: I4e959e296cca9bbdfc8fccc5e5e0e654ca524165 (cherry picked from commit 6c870e157994519094e9e50ddf93e57a26779e22) Merged-In: I79c3bf303e729e00d8fb12c40330bc10c5ffec6e