From f1c3ed1e81a030654e84b24794d89182a908156e Mon Sep 17 00:00:00 2001 From: Benjamin Miller Date: Thu, 3 May 2018 10:56:28 +0000 Subject: [PATCH] Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps. Bug: 72428023 Test: make ds-docs and inspect output Change-Id: Ifc31378b7061d10b73de183e3c64864d608975b1 --- core/java/android/os/UserManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 9b20ed2ea01ae..11afd21d60fce 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -157,8 +157,9 @@ public class UserManager { public static final String DISALLOW_CONFIG_LOCALE = "no_config_locale"; /** - * Specifies if a user is disallowed from installing applications. - * The default value is false. + * Specifies if a user is disallowed from installing applications. This user restriction also + * prevents device owners and profile owners installing apps. The default value is + * {@code false}. * *

Key for user restrictions. *

Type: Boolean