AOKP/packages_apps_ROMControl — Issue #26: led control common color
Author: aaronpoweruser
Created: 2012-02-28 08:26:08+00:00
State: open

the led control panel needs exact hex values for most devices as onl a view colors are avalible due to limited led hardware support especially on htc phones , im not sure how you want to do this. as you are using a generic color picker, either you can extend the color picker and do a custom implementation or move to a new screen with common color then a button for a custom color(best option in my opinion), if you comment on this i will try to implement it this week

color consts needed
private static final int GREEN_LED = 0xff00ff00;
private static final int YELLOWGREEN_LED = 0xff66ff00;
private static final int YELLOW_LED = 0xffffff00;
private static final int ORANGE_LED = 0xffff4500;
private static final int RED_LED = 0xffff0000;