summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/BatteryService.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/BatteryService.java')
-rw-r--r--services/java/com/android/server/BatteryService.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/services/java/com/android/server/BatteryService.java b/services/java/com/android/server/BatteryService.java
index 537d69f..030d127 100644
--- a/services/java/com/android/server/BatteryService.java
+++ b/services/java/com/android/server/BatteryService.java
@@ -696,22 +696,12 @@ public final class BatteryService extends Binder {
private final class Led {
private final LightsService.Light mBatteryLight;
- private final int mBatteryLowARGB;
- private final int mBatteryMediumARGB;
- private final int mBatteryFullARGB;
private final int mBatteryLedOn;
private final int mBatteryLedOff;
public Led(Context context, LightsService lights) {
mBatteryLight = lights.getLight(LightsService.LIGHT_ID_BATTERY);
- mBatteryLowARGB = mContext.getResources().getInteger(
- com.android.internal.R.integer.config_notificationsBatteryLowARGB);
- mBatteryMediumARGB = mContext.getResources().getInteger(
- com.android.internal.R.integer.config_notificationsBatteryMediumARGB);
- mBatteryFullARGB = mContext.getResources().getInteger(
- com.android.internal.R.integer.config_notificationsBatteryFullARGB);
-
// Does the Device support changing battery LED colors?
mMultiColorLed = context.getResources().getBoolean(
com.android.internal.R.bool.config_multiColorBatteryLed);
@@ -765,7 +755,7 @@ public final class BatteryService extends Binder {
mBatteryLight.setColor(mBatteryMediumARGB);
}
} else {
- //No lights if not charging and not low
+ // No lights if not charging and not low
mBatteryLight.turnOff();
}
}