Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33d74fb9 authored by Oli Lan's avatar Oli Lan Committed by Android Build Coastguard Worker
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, unless the DELETE_SYSTEM_APP flag is
specified.

This is a fixed version of ag/17352264, to address b/236578018.

Bug: 170646036
Test: atest DeletePackageHelperTest
Merged-In: I55a3d322e84aaaced69bd5edeaf90e82ac9a0dd3
Change-Id: I0fd9bfaebccc583f641db4416c9021d47f6fcf44
(cherry picked from commit ae313d6d)
Merged-In: I0fd9bfaebccc583f641db4416c9021d47f6fcf44
parent 8e4a6ecb
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