[2/2] Add support for custom LED colors notification

From Slim
Originally from dvtonder (CyanogenMod)

Change-Id: Iab519a757220c444f166b8a05246c7ca71b897d8

Conflicts:
	media/java/android/media/MediaRouterClientState.aidl

Signed-off-by: mv <michvett.mv@gmail.com>

Conflicts:
	services/java/com/android/server/BatteryService.java
	services/java/com/android/server/NotificationManagerService.java
Frameworks: add support for devices without multi-color LED

Change-Id: Ied3514f4fdd9511c75926eb3d9e48d6d1425bc43
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
need reword: move SettingsObserver
Revert "need reword: move SettingsObserver"

This reverts commit 9bfb847603f3e8726a0adeae35e9ba32a1adc079.
Partially Revert 773fc6097aaa00e58c4f0eed5701fb29ec1bd768; batteryLED

This reverts commit 773fc6097aaa00e58c4f0eed5701fb29ec1bd768.

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/slim_symbols.xml
Allow adjusting progress on touch events.

Change-Id: Ide0a7ae057a62f3631a32eeaa63f3e04dec5bf54

Conflicts:
	core/java/android/widget/AbsSeekBar.java
TextView: Check also for mLayoutParams before calling checkForRelayout

Cherry-picked from OmniROM.

http://jira.omnirom.org/browse/OMNI-976

This was introduced with
https://github.com/omnirom/android_frameworks_base/commit/b3670c54e60387fde633fb91c649c5b896f8b962

Change-Id: I06c1926c5b8102b336d128d9b411f74a9eff3ded