Class of android.content · RestrictionsManager.java · Android's reference
public class RestrictionsManager
Application restrictions: no device policy manages this device, so the app has none.
public static final String ACTION_PERMISSION_RESPONSE_RECEIVED = "android.content.action.PERMISSION_RESPONSE_RECEIVED" sourcepublic static final String ACTION_REQUEST_PERMISSION = "android.content.action.REQUEST_PERMISSION" sourcepublic static final String ACTION_REQUEST_LOCAL_APPROVAL = "android.content.action.REQUEST_LOCAL_APPROVAL" sourcepublic RestrictionsManager() empty body sourcepublic Bundle getApplicationRestrictions() sourcepublic List<Bundle> getApplicationRestrictionsPerAdmin() sourcepublic boolean hasRestrictionsProvider() sourcepublic void requestPermission(String requestType, String requestId, PersistableBundle request) empty body sourcepublic Intent createLocalApprovalIntent() sourcepublic void notifyPermissionResponse(String packageName, PersistableBundle response) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.