diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-06-05 16:05:02 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-08 00:20:45 -0700 |
commit | 7f86827af44eb5267c8d21f355d109ff71b04f10 (patch) | |
tree | f579ea5b358143304496576dea134105b3b01f94 | |
parent | 19862bf5d058b6ab0c2979e7a5e0297dae6b170b (diff) | |
download | frameworks_base-7f86827af44eb5267c8d21f355d109ff71b04f10.zip frameworks_base-7f86827af44eb5267c8d21f355d109ff71b04f10.tar.gz frameworks_base-7f86827af44eb5267c8d21f355d109ff71b04f10.tar.bz2 |
Intent to manage application network data usage.
Will be launched by Settings when presenting detailed network data
usage for a specific application. Offers easy access into application
settings to change behavior.
Change-Id: I4ee0fdbc69f6a800ad59aca8db6b21f15ca71a66
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | core/java/android/content/Intent.java | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 4a35785..643df30 100644 --- a/api/current.txt +++ b/api/current.txt @@ -4968,6 +4968,7 @@ package android.content { field public static final java.lang.String ACTION_INSERT_OR_EDIT = "android.intent.action.INSERT_OR_EDIT"; field public static final java.lang.String ACTION_LOCALE_CHANGED = "android.intent.action.LOCALE_CHANGED"; field public static final java.lang.String ACTION_MAIN = "android.intent.action.MAIN"; + field public static final java.lang.String ACTION_MANAGE_NETWORK_USAGE = "android.intent.action.MANAGE_NETWORK_USAGE"; field public static final java.lang.String ACTION_MANAGE_PACKAGE_STORAGE = "android.intent.action.MANAGE_PACKAGE_STORAGE"; field public static final java.lang.String ACTION_MEDIA_BAD_REMOVAL = "android.intent.action.MEDIA_BAD_REMOVAL"; field public static final java.lang.String ACTION_MEDIA_BUTTON = "android.intent.action.MEDIA_BUTTON"; diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index a43c92f..2f9627a 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1160,6 +1160,15 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP"; /** + * Activity Action: Show settings for managing network data usage of a + * specific application. Applications should define an activity that offers + * options to control data usage. + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_MANAGE_NETWORK_USAGE = + "android.intent.action.MANAGE_NETWORK_USAGE"; + + /** * A string associated with a {@link #ACTION_UPGRADE_SETUP} activity * describing the last run version of the platform that was setup. * @hide |