commit | b1646337a748c912b095b02b7837d6503f38d6b9 | [log] [tgz] |
---|---|---|
author | Oli Lan <olilan@google.com> | Fri Mar 25 18:24:39 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jul 07 01:46:37 2022 +0000 |
tree | 4736721fb07ed13b954a7b255cbc258d680d94e0 | |
parent | d15f00a09260dee8274a426ae0424a0bc9c05068 [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