diff options
| author | Amith Yamasani <yamasani@google.com> | 2013-04-16 18:24:51 -0700 |
|---|---|---|
| committer | Amith Yamasani <yamasani@google.com> | 2013-04-17 10:44:44 -0700 |
| commit | 7e99bc02c8e2f44dd92d70bfa6e654297e5286d8 (patch) | |
| tree | 5b0fd3504a1b6939f1289772447aa598101b7652 /core/java/android/content/Context.java | |
| parent | 95a869f91bb9ab24300cec37037b0edcfa54f334 (diff) | |
Modify restrictions bundle per api council recommendations
Use a Bundle for persisting and passing to the application, but use a
list to return data back from an application that's exposing restrictions.
Changed the xml reading/writing code to store the value type in the Bundle
so that it can be reproduced when reading. Earlier we were assuming only
String and String[].
Bug: 8633967
Change-Id: I523d5553728edcf28a1e9d432f490b4956f34215
Diffstat (limited to 'core/java/android/content/Context.java')
| -rw-r--r-- | core/java/android/content/Context.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 03e241afe5ed..5bd28b983abb 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -293,15 +293,6 @@ public abstract class Context { public abstract Context getApplicationContext(); /** - * Returns the list of restrictions for the application, or null if there are no - * restrictions. - * @return - */ - public List<RestrictionEntry> getApplicationRestrictions() { - return getApplicationContext().getApplicationRestrictions(); - } - - /** * Add a new {@link ComponentCallbacks} to the base application of the * Context, which will be called at the same times as the ComponentCallbacks * methods of activities and other components are called. Note that you |
