Lines Matching refs:restrictions
237 When users create a restricted profile, they can enable restrictions such as which apps are
243 <p>The UI for users to control the restrictions you've built is managed by the system's
245 you must declare the restrictions your app provides by creating a {@link
247 all apps for available restrictions, then builds the UI to allow the primary user to
248 manage restrictions for each restricted profile. </p>
269 <p>The system creates the UI for your app's restrictions in the Settings app and saves each
271 object. When the user opens your app, you can query for any current restrictions by
276 <p>If you want to provide more specific restrictions that can't be handled by boolean, single
278 restrictions and allow users to open that activity from the restriction settings. In your
284 When the primary user enters your activity to set custom restrictions, your
296 profile, you will get a failure result. Due to these restrictions, you have the following
329 Bundle restrictions = um.getUserRestrictions();
330 if (restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false)) {