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

Commit 8cd62fdd authored by Jason Parks's avatar Jason Parks
Browse files

Restrict callers for setSupervisionEnabledForUser

Callers are now restricted to the system and callers with
the BYPASS_ROLE_QUALIFICATION permission. This permission
is only granted to the SYSTEM_SHELL role holder.

Bug: 395630828
Flag: android.app.supervision.flags.supervision_manager_apis
Test: atest SupervisionServiceTest && atest CtsSupervisionTestCases
Change-Id: I4d045b2eff1521b33838bc330fe83ce6080017af
parent 04c8a572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment