Skip to content
Commit 90702836 authored by Oli Lan's avatar Oli Lan
Browse files

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.

Bug: 170646036
Test: atest DeletePackageHelperTest
Test: manual, try uninstalling system app update as guest
Change-Id: I4e959e296cca9bbdfc8fccc5e5e0e654ca524165
parent c5b61d93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment