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

Commit bf093c52 authored by Ayush Sharma's avatar Ayush Sharma
Browse files

Update javadoc for DISALLOW_SIM_GLOBALLY

DISALLOW_SIM_GLOBALLY is only enforced in EuiccController.java to disallow download of new non-managed embedded SIMs when this restriction is set.
Updating the documentation to reflect that we are not disabling physical SIM or affecting any existing embedded SIM already present on the device.

Bug: 295301164
Test: NA
Change-Id: I51a2660fa39211e5428fa491f95ba673d19a7d50
parent 60826ae9
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1929,12 +1929,10 @@ public class UserManager {
    public static final String DISALLOW_THREAD_NETWORK = "no_thread_network";

    /**
     * This user restriction specifies if the user is able to add SIMs to the device.
     * This user restriction specifies if the user is able to add embedded SIMs to the device.
     *
     * <p>
     * This restriction blocks the download of embedded SIMs, and disables any physical SIMs.
     * If any embedded SIMs are already on the device, then they are removed. This restriction
     * does not affect SIMs provisioned to the device by device owners or profile owners.
     * This restriction blocks the download of embedded SIMs.
     *
     * <p>
     * This restriction can only be set by a device owner or a profile owner of an
@@ -1950,6 +1948,7 @@ public class UserManager {
     *
     * <p>Key for user restrictions.
     * <p>Type: Boolean
     *
     * @see DevicePolicyManager#addUserRestriction(ComponentName, String)
     * @see DevicePolicyManager#clearUserRestriction(ComponentName, String)
     * @see #getUserRestrictions()