Loading core/java/android/os/UserManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -1785,7 +1785,11 @@ public class UserManager { /** * Specifies whether the user is allowed to modify default apps in settings. * * <p>This restriction can be set by device or profile owner. * <p>A device owner and a profile owner can set this restriction. When it is set by a * device owner, it applies globally - i.e., modifying of default apps in Settings for all * users is disallowed. When it is set by a profile owner on the primary user or by a profile * owner of an organization-owned managed profile on the parent profile, modifying of * default apps in Settings for the primary user is disallowed. * * <p>The default value is <code>false</code>. * Loading services/core/java/com/android/server/pm/UserRestrictionsUtils.java +4 −2 Original line number Diff line number Diff line Loading @@ -232,7 +232,8 @@ public class UserRestrictionsUtils { UserManager.DISALLOW_UNMUTE_MICROPHONE, UserManager.DISALLOW_UNMUTE_DEVICE, UserManager.DISALLOW_CAMERA, UserManager.DISALLOW_ASSIST_CONTENT UserManager.DISALLOW_ASSIST_CONTENT, UserManager.DISALLOW_CONFIG_DEFAULT_APPS ); /** Loading Loading @@ -288,7 +289,8 @@ public class UserRestrictionsUtils { UserManager.DISALLOW_SMS, UserManager.DISALLOW_USB_FILE_TRANSFER, UserManager.DISALLOW_MOUNT_PHYSICAL_MEDIA, UserManager.DISALLOW_UNMUTE_MICROPHONE UserManager.DISALLOW_UNMUTE_MICROPHONE, UserManager.DISALLOW_CONFIG_DEFAULT_APPS ); /** Loading Loading
core/java/android/os/UserManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -1785,7 +1785,11 @@ public class UserManager { /** * Specifies whether the user is allowed to modify default apps in settings. * * <p>This restriction can be set by device or profile owner. * <p>A device owner and a profile owner can set this restriction. When it is set by a * device owner, it applies globally - i.e., modifying of default apps in Settings for all * users is disallowed. When it is set by a profile owner on the primary user or by a profile * owner of an organization-owned managed profile on the parent profile, modifying of * default apps in Settings for the primary user is disallowed. * * <p>The default value is <code>false</code>. * Loading
services/core/java/com/android/server/pm/UserRestrictionsUtils.java +4 −2 Original line number Diff line number Diff line Loading @@ -232,7 +232,8 @@ public class UserRestrictionsUtils { UserManager.DISALLOW_UNMUTE_MICROPHONE, UserManager.DISALLOW_UNMUTE_DEVICE, UserManager.DISALLOW_CAMERA, UserManager.DISALLOW_ASSIST_CONTENT UserManager.DISALLOW_ASSIST_CONTENT, UserManager.DISALLOW_CONFIG_DEFAULT_APPS ); /** Loading Loading @@ -288,7 +289,8 @@ public class UserRestrictionsUtils { UserManager.DISALLOW_SMS, UserManager.DISALLOW_USB_FILE_TRANSFER, UserManager.DISALLOW_MOUNT_PHYSICAL_MEDIA, UserManager.DISALLOW_UNMUTE_MICROPHONE UserManager.DISALLOW_UNMUTE_MICROPHONE, UserManager.DISALLOW_CONFIG_DEFAULT_APPS ); /** Loading