base: Bring back batterylight settings

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

Originally from dvtonder (CyanogenMod)

Conflicts:
	core/res/res/values/custom_arrays.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/BatteryService.java

Change-Id: Iab519a757220c444f166b8a05246c7ca71b897d8

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java

base: fixed merge derp

Change-Id: Ib92927fad0078a9c96f701fcfdc1362d7875b8d2

base: correct default enablement of battery light

Use default value from config

Change-Id: I50a0e78bf4528ee8991da41aa1fdcfaaa30b107d
base: linaro fixes

Work around uint16_t vs. char16_t confusion

Change-Id: I188e5a82b2dba821710eaea85d6cbef2ae004ce9
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>

frameworks/base: Fix aliasing violations

Fix violations of strict aliasing rules

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>

frameworks/base: Fix build in ISO C++11 mode

Fix various incompatibilities with ISO C++11:
- Assumption that char16_t is defined to uint16_t
- constexpr usage
- macro constructs that could be interpreted as string literals
- enum typesafety

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>

Conflicts:

	core/jni/android_os_FileUtils.cpp

Change-Id: I22a1bd5ba2bceb9d03f2e85f4be2df1e1ebd651f