commit | 6c870e157994519094e9e50ddf93e57a26779e22 | [log] [tgz] |
---|---|---|
author | Oli Lan <olilan@google.com> | Fri Mar 25 18:24:39 2022 +0000 |
committer | Oli Lan <olilan@google.com> | Tue Mar 29 16:14:46 2022 +0000 |
tree | 3e7d379012056f23e850735aa7cbdd135af99467 | |
parent | d06ee6d79d6727a7b9b82d4737d51e7823306d98 [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