From b4233cf9eaaa4ecd8e8fa2177b016d25abb00bee Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 25 Oct 2015 15:21:06 +0200 Subject: Use separate icon for flashlight power usage Change-Id: Ic27fdbda905eae1dbcd90304fa544270797942d3 --- res/drawable-hdpi/ic_power_flashlight.png | Bin 0 -> 368 bytes res/drawable-mdpi/ic_power_flashlight.png | Bin 0 -> 312 bytes res/drawable-xhdpi/ic_power_flashlight.png | Bin 0 -> 423 bytes res/drawable-xxhdpi/ic_power_flashlight.png | Bin 0 -> 603 bytes res/drawable-xxxhdpi/ic_power_flashlight.png | Bin 0 -> 772 bytes src/com/android/settings/fuelgauge/BatteryEntry.java | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 res/drawable-hdpi/ic_power_flashlight.png create mode 100644 res/drawable-mdpi/ic_power_flashlight.png create mode 100644 res/drawable-xhdpi/ic_power_flashlight.png create mode 100644 res/drawable-xxhdpi/ic_power_flashlight.png create mode 100644 res/drawable-xxxhdpi/ic_power_flashlight.png diff --git a/res/drawable-hdpi/ic_power_flashlight.png b/res/drawable-hdpi/ic_power_flashlight.png new file mode 100644 index 0000000..bc0d643 Binary files /dev/null and b/res/drawable-hdpi/ic_power_flashlight.png differ diff --git a/res/drawable-mdpi/ic_power_flashlight.png b/res/drawable-mdpi/ic_power_flashlight.png new file mode 100644 index 0000000..bc25e3d Binary files /dev/null and b/res/drawable-mdpi/ic_power_flashlight.png differ diff --git a/res/drawable-xhdpi/ic_power_flashlight.png b/res/drawable-xhdpi/ic_power_flashlight.png new file mode 100644 index 0000000..12ce832 Binary files /dev/null and b/res/drawable-xhdpi/ic_power_flashlight.png differ diff --git a/res/drawable-xxhdpi/ic_power_flashlight.png b/res/drawable-xxhdpi/ic_power_flashlight.png new file mode 100644 index 0000000..6785d89 Binary files /dev/null and b/res/drawable-xxhdpi/ic_power_flashlight.png differ diff --git a/res/drawable-xxxhdpi/ic_power_flashlight.png b/res/drawable-xxxhdpi/ic_power_flashlight.png new file mode 100644 index 0000000..f02efcc Binary files /dev/null and b/res/drawable-xxxhdpi/ic_power_flashlight.png differ diff --git a/src/com/android/settings/fuelgauge/BatteryEntry.java b/src/com/android/settings/fuelgauge/BatteryEntry.java index fbde228..c034d19 100644 --- a/src/com/android/settings/fuelgauge/BatteryEntry.java +++ b/src/com/android/settings/fuelgauge/BatteryEntry.java @@ -157,7 +157,7 @@ public class BatteryEntry { break; case FLASHLIGHT: name = context.getResources().getString(R.string.power_flashlight); - iconId = R.drawable.ic_settings_display; + iconId = R.drawable.ic_power_flashlight; break; case APP: name = sipper.packageWithHighestDrain; -- cgit v1.1