summaryrefslogtreecommitdiffstats
path: root/services/restrictions/java
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-15/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Rename getLocalApprovalIntent to createLocalApprovalIntentAmith Yamasani2014-09-051-1/+1
| | | | | | | Based on API review. Bug: 17389920 Change-Id: I84674f25a84d317f017473b6f4ac19c849079323
* API Review: Improvements to RestrictionsManager APIAmith Yamasani2014-07-221-2/+38
| | | | | | | | | Use an activity intent for local approval instead of a type. Use PeristableBundle instead of Bundle. Pass requestId as an explicit argument in cases where it's required. Bug: 16400892 Change-Id: Id882033f17c39aa9cd63a7eeb73bb7b51f98cf5b
* Revert some new APIs for restrictions providerAmith Yamasani2014-07-151-131/+5
| | | | | | | | Simplify back to being a broadcast receiver and add an extra to indicate that a new request is desired vs. returning a pending response from before. Change-Id: Iafd16ed98293a2cc09006d2cce097fc3d590bbe2
* Improvements to Restrictions APIAmith Yamasani2014-07-131-18/+153
| | | | | | | | | | | | | | | Convert restrictions provider to a service instead of a receiver. Add a way to get pending responses from restrictions provider. Add AbstractRestrictionsProvider. Add a callback API for responses. Removed some constants in RestrictionsManager. Added new constants for errors and error codes. Much improved javadocs. Bug: 16176009 Change-Id: I838a50fabc80b94b632294b3a55cd5d8092acf55
* Restrictions ManagerAmith Yamasani2014-05-311-0/+171
Mechanism to register a provider for requesting an administrator to respond to permission requests. Request format and response format constants. Description of manifest template for static restrictions. Int type introduced in RestrictionEntry. Needs more javadoc and better description of manifest templates, including specifying the XML attributes. Change-Id: I5a654d364e98379fc60f73db2e06bf9a8310263d