summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-06-05 16:05:02 -0700
committerJeff Sharkey <jsharkey@android.com>2011-06-08 00:20:45 -0700
commit7f86827af44eb5267c8d21f355d109ff71b04f10 (patch)
treef579ea5b358143304496576dea134105b3b01f94 /core/java/android
parent19862bf5d058b6ab0c2979e7a5e0297dae6b170b (diff)
downloadframeworks_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
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java9
1 files changed, 9 insertions, 0 deletions
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