Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ef4564d authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru
Browse files

Change values of ACTION_POWER constants to better match established practice.

Trim code to 100 lines to match style guide.
parent fda6fae1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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
     */