diff options
| author | 2018-02-27 14:07:52 +0000 | |
|---|---|---|
| committer | 2018-02-27 19:02:08 +0000 | |
| commit | 9fb706c69f3b76e8c3f899f9986b1f363e44a0c5 (patch) | |
| tree | 33f4e38160dc1ab205511f41b3ae6e8f8b10de94 | |
| parent | 423e631da175f3c99154b3456ad6a8fe97b086da (diff) | |
Improve javadoc for DISALLOW_DEBUGGING_FEATURES.
Bug: 38193476
Test: read aloud.
Change-Id: Ife44949c82703b466c3cfa7114cb98fbe5f2e73c
| -rw-r--r-- | core/java/android/os/UserManager.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 185620066454..3b4bde7f7309 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -365,8 +365,12 @@ public class UserManager { public static final String DISALLOW_REMOVE_MANAGED_PROFILE = "no_remove_managed_profile"; /** - * Specifies if a user is disallowed from enabling or - * accessing debugging features. The default value is <code>false</code>. + * Specifies if a user is disallowed from enabling or accessing debugging features. When set on + * the primary user, disables debugging features altogether, including USB debugging. When set + * on a managed profile or a secondary user, blocks debugging for that user only, including + * starting activities, making service calls, accessing content providers, sending broadcasts, + * installing/uninstalling packages, clearing user data, etc. + * The default value is <code>false</code>. * * <p>Key for user restrictions. * <p>Type: Boolean |