diff options
| author | Dianne Hackborn <hackbod@google.com> | 2009-06-19 10:35:21 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2009-06-19 11:46:58 -0700 |
| commit | 3d74bb4ab27ae9601f5c9c3706fad287845fb672 (patch) | |
| tree | 535a85ff083f52453637c2ece5d643e79276c142 /core/java/android | |
| parent | 03255de32d127d17504b6d475e6e79190dd637f8 (diff) | |
| download | frameworks_base-3d74bb4ab27ae9601f5c9c3706fad287845fb672.zip frameworks_base-3d74bb4ab27ae9601f5c9c3706fad287845fb672.tar.gz frameworks_base-3d74bb4ab27ae9601f5c9c3706fad287845fb672.tar.bz2 | |
Add "why?" button to low battery dialog.
This takes the user to the power usage activity.
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/Intent.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 11538b0..609fa74 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1076,6 +1076,15 @@ public class Intent implements Parcelable { */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_APP_ERROR = "android.intent.action.APP_ERROR"; + + /** + * Activity Action: Show power usage information to the user. + * <p>Input: Nothing. + * <p>Output: Nothing. + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_POWER_USAGE_SUMMARY = "android.intent.action.POWER_USAGE_SUMMARY"; + // --------------------------------------------------------------------- // --------------------------------------------------------------------- // Standard intent broadcast actions (see action variable). |
