Custom LED notification (2/2)
Settings: Notification light(LED) settings

This commit adds the ability to configure the Notification light
color and pulse rate both for the default and a custom applications
list.

This work was done in collaboration with Marko Mihovilić (m1h4) who
wrote the initial implementation as a stand-alone application and
helped with the fixes below.

NOTE: Google Talk notifications originate from the "Google Services
Framework" so in order to override their settings you need to add
this package instead of the Google Talk package.

Patch set 2  - fixes the color returned from picker (remove alpha)
Patch set 3  - whitespace, formatting and minor code cleanup
Patch set 4  - fix derp in Notification light checkbox default
Patch set 5  - part 1 of the changes based on Danny's feedback
Patch set 6  - part 2 of the changes based on Danny's feedback
Patch set 7  - final tweaks to the layout, smaller icons etc.
Patch set 8  - adds the ability to test LED (thanks Marko)
             - Use long click to get the test option
             - most of Danny's suggested fixes
Patch set 9  - moves the test button to colorpicker
             - fixes the app picker dialog to load smoothly
             - minor string fixes to match google writing guidelines
Patch set 11 - switched to using a hashmap for string manipulation
             - minor string and whitespace cleanup
Patch set 12 - Use textUtil.join (thanks Danesh)
             - remove some orphaned code
             - don't refresh whole list on preference change
Patch set 13 - Fix preference not updating when testing before saving
             - Automatically dismiss test dialog after test
             - remove some dead code
             - some cleanup
             - remove ^M from files
Patch set 14 - Fix preference update after test, take #2
Patch set 15 - Fix NPE on empty settings
             - Sort application list by name
Patch set 16 - German translation
Patch set 17 - German translation update

Change-Id: I6837210367123bc02ea27a9b7b6b3cf80c738bf1

Conflicts:
	AndroidManifest.xml
	res/values-de/strings.xml
	res/values/arrays.xml
	res/values/dimens.xml
	res/values/strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Add "Pulse low battery light" switch.

Implements the Display settings portion of an optional "Pulse low battery
light" switch, which allows the pulsing low battery LED to be disabled.

This change accompanies I3a5c8938fd7c444c90b2af123e683982c614cd6e.

Change-Id: I42cbeded5bac4a9b51afaf095a7c450df1b21bc5

Conflicts:
	res/values/strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Battery Light: Add ability to configure (Part 2 of 2)

Adds the ability to enable/disable the battery light and, if the device
supports multiple colors for the light (set via overlay), the ability to
configure the colors for Low, Medium and Full.

Change-Id: Ie3c0f7794dc21bd44d84235501baf2c788911520

Conflicts:
	AndroidManifest.xml
	res/values/strings.xml
	src/com/android/settings/DisplaySettings.java

Settings: Move Notification and Battery light settings to System settings

In an attempt to make the LED settings more discoverable, move it from
Display to System settings.

Change-Id: I374cdd08f330ff367405d204b5eb073efa98f04d

Conflicts:
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/cyanogenmod/SystemSettings.java

Battery light: Add ability to reset the colors to default

Change-Id: I17571f6cfc9ae7efd21b7089125c524489c95332

Settings: Fix Notification light 'Always on' test

This commits allows for a Notification light setting with an onTime
of 'Always on' to be tested.  A value of 180ms is used for the onTime
and 1ms for offTime to ensure the light actually shows.

Change-Id: I8960e2177f80345d060c283b63714373fdd0ceee

Fix "always on" state for the LED.

On the Galaxy Nexus (maguro) the notification LED will be always on if ledOnMS
is set to 1 and ledOffMS is set to 0. Changed the "always on" setting to this
behaviour.

Change-Id: I6ca64b704be6cabaf20e9c5e04892c20113b4e60

Settings: Add Missed call and Voicemail to notification light settings (1/3)

This commit adds the ability to configure missed call and voicemail light
settings for devices that have voice/phone capability

Requires Part 2 (framework) and Part 3 (Phone) commits

Change-Id: I3df711bd687cc01227e65d38f5b963696e6c01cb

Conflicts:
	res/values/strings.xml