summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2008-10-24 11:49:25 -0700
committerJean-Baptiste Queru <jbq@google.com>2008-10-24 11:49:25 -0700
commit1ef4564d4ad14f2c5dcb162636875ca8aed5e4d9 (patch)
treedd28d5dea2215313543e06cda9a715398263f215
parentfda6fae156e31a287e3cfbf66e51ea1405cdf479 (diff)
downloadbase-1ef4564d4ad14f2c5dcb162636875ca8aed5e4d9.tar.gz
Change values of ACTION_POWER constants to better match established practice.
Trim code to 100 lines to match style guide.
-rw-r--r--core/java/android/content/Intent.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 598e0e8944e2..aa4622b14f30 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1187,7 +1187,7 @@ public class Intent implements Parcelable {
* that wait until power is available to trigger.
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
- public static final String ACTION_POWER_CONNECTED = "android.intent.action.ACTION_POWER_CONNECTED";
+ public static final String ACTION_POWER_CONNECTED = "android.intent.action.POWER_CONNECTED";
/**
* Broadcast Action: External power has been removed from the device.
* This is intended for applications that wish to register specifically to this notification.
@@ -1196,7 +1196,8 @@ public class Intent implements Parcelable {
* that wait until power is available to trigger.
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
- public static final String ACTION_POWER_DISCONNECTED = "android.intent.action.ACTION_POWER_DISCONNECTED";
+ public static final String ACTION_POWER_DISCONNECTED =
+ "android.intent.action.POWER_DISCONNECTED";
/**
* Broadcast Action: Indicates low memory condition on the device
*/