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

Skip to content
Commit 02e6474e authored by Anthony Alridge's avatar Anthony Alridge
Browse files

APIs to download and delete eSIM for admins

Updates the documenation of the download and delete APIs
to reflect the ability for enterprise admins to
manage eSIMs. Also, adds a mechanism in subscription info
to track if a sim is "owned" by an admin. This can be
used across the system to determine what actions a user
can perform on the sim (e.g. by default, users cannot
delete esims).

A separate user restriction (disallow_unmanaged_sims_globally) is
being introduced in a separate cl to block the user from
adding sims. Once merged, the permission check in
downloadSubscription can be extended to only allow the download
if the admin holds the MANAGE_DEVICE_POLICY_MOBILE_NETWORKS permission,
thus blocking download for all but admins.

Bug: 293456669
Test: btest android.devicepolicy.cts.EmbeddedSubscriptionTest
API-Coverage-Bug: 322944132
Change-Id: Id228b9ac1e1a63a519c06e7b104262ba48532373
parent 328556ac
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