History log of /frameworks/base/core/java/android/content/RestrictionEntry.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1af7a839393152834a3659514528d8050901a4fe 20-Aug-2015 Fyodor Kupolov <fkupolov@google.com> Fixed key comparison in equals method

Bug: 23376695
Change-Id: Ie4bd55a88f5f86fd8de7b087d0a5f1755951e90d
/frameworks/base/core/java/android/content/RestrictionEntry.java
f70c9346d6097be6967d0901830b00b84ae02a87 22-May-2015 Fyodor Kupolov <fkupolov@google.com> Use factory methods for RestrictionEntry

As per API council request, factory methods should be used instead of using
boolean.

Bug: 21343772
Change-Id: Ia0889e46916f4ed7edb942217880cdf9c27771c2
/frameworks/base/core/java/android/content/RestrictionEntry.java
262f9952e6e78e00a6d42bab97d73dccfb9607f4 24-Mar-2015 Fyodor Kupolov <fkupolov@google.com> Support for nested bundles in setApplicationRestrictions

Added new restriction types - bundle and bundle-array.

Modified RestrictionsManager.getManifestRestrictions to support new
hierarchical restrictions.
Added RestrictionsManager.convertRestrictionsToBundle, which enables
programmatic conversion from a list of RestrictionEntries to a Bundle.

Modified read/write methods for application restrictions in UserManagerService.
Added unit tests.

Bug: 19540606
Change-Id: I32b264e04d5d177ea5b4c39a8ace5ee0ce907970
/frameworks/base/core/java/android/content/RestrictionEntry.java
7b9c912f536925ac6ec43935d6e97506851b33d6 31-May-2013 Tor Norbye <tnorbye@google.com> Add @ResourceInt annotations on APIs

Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/content/RestrictionEntry.java
c8c8425b51a4f68fae993e68b357679ca27d155d 14-Jul-2014 Amith Yamasani <yamasani@google.com> App restrictions schema and parser

Documented the restrictions schema in RestrictionsManager docs.
Added a parser to read the meta-data and XML file on the device.
Added more types and methods in RestrictionEntry to accomodate some
new types and construction modes.
Added a styleable for restriction attributes.

Slight tweak to permission response params.

Bug: 14582645
Change-Id: I193d1162741d110c100831cab33b48e2baf7426c
/frameworks/base/core/java/android/content/RestrictionEntry.java
f20d640fa2b155a971ddfe0965fc803a73b5e53c 25-May-2014 Amith Yamasani <yamasani@google.com> Restrictions Manager

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
/frameworks/base/core/java/android/content/RestrictionEntry.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/content/RestrictionEntry.java
0d8750d771c8ad4db6f1f590ecda4ac23f783a84 02-May-2013 Amith Yamasani <yamasani@google.com> Allow requiredForAllUsers to work on updates to system apps

Bug: 8736380

Also set the default type as the constructor docs imply in RestrictionEntry.

Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df
/frameworks/base/core/java/android/content/RestrictionEntry.java
d5e946a52c5095c05a4621073f428649ad626430 25-Apr-2013 Amith Yamasani <yamasani@google.com> Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.

Bug: 8704663
Change-Id: Ia9931e3844305c8f84c127506ffedf3a17eeb80d
/frameworks/base/core/java/android/content/RestrictionEntry.java
86118baa4fef80c485ba51c6985a6fa082b7310c 28-Mar-2013 Amith Yamasani <yamasani@google.com> Improve RestrictionEntry API

More getters and setters, better naming.
New extra defined for returning a custom intent that handles showing the
restrictions UI.

Change-Id: I2ee0cdb4edd99e71a9004ff5e929dbe243b45557
/frameworks/base/core/java/android/content/RestrictionEntry.java
1eab5f26939748dea5e94bf019804a68d2a2b161 21-Mar-2013 Amith Yamasani <yamasani@google.com> Fix javadoc breakage

Change-Id: I72df82a8855322145c870bd8db64da81533be4cc
/frameworks/base/core/java/android/content/RestrictionEntry.java
df2e92a535e19c00edd37318d974dab992ccc2c1 02-Mar-2013 Amith Yamasani <yamasani@google.com> Application restrictions API

Adds the ability for apps to export some restrictions. The restrictions
are presented in Settings based on the restriction type. The user's
selections are stored by UserManagerService and provided to the
target user's application as a list of RestrictionEntry objects which
contain the key, value(s).

Also introduce a manifest entry for system apps to request that the
app be automatically installed in all users, so that they cannot be
deselected by the owner user.

Shared account filtering for non-whitelisted apps.

Change-Id: I15b741e3c0f3448883cb364c130783f1f6ea7ce6
/frameworks/base/core/java/android/content/RestrictionEntry.java