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

Commit c617f815 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

API council - DISALLOW_APPS_CONTROL -- need better documentation.

Bug: 16401636
Change-Id: I168033eaabdb953d8e73f63792a7e729eb9eeff6
parent 1cc41c93
Loading
Loading
Loading
Loading
+11 −2
Original line number Original line Diff line number Diff line
@@ -229,8 +229,17 @@ public class UserManager {
    public static final String DISALLOW_CONFIG_MOBILE_NETWORKS = "no_config_mobile_networks";
    public static final String DISALLOW_CONFIG_MOBILE_NETWORKS = "no_config_mobile_networks";


    /**
    /**
     * Key for user restrictions. Specifies if a user is disallowed from controlling
     * Key for user restrictions. Specifies if a user is disallowed from modifying
     * applications in Settings. The default value is <code>false</code>.
     * applications in Settings or launchers. The following actions will not be allowed when this
     * restriction is enabled:
     * <li>uninstalling apps</li>
     * <li>disabling apps</li>
     * <li>clearing app caches</li>
     * <li>clearing app data</li>
     * <li>force stopping apps</li>
     * <li>clearing app defaults</li>
     * <p>
     * The default value is <code>false</code>.
     * <p>
     * <p>
     * Type: Boolean
     * Type: Boolean
     * @see #setUserRestrictions(Bundle)
     * @see #setUserRestrictions(Bundle)