base: correct default enablement of battery light

Use default value from config

Change-Id: I50a0e78bf4528ee8991da41aa1fdcfaaa30b107d
googlebackuptransport: fix for google backup and restore

This fixes restore issues with properly done 4.4 gapps

Change-Id: Ib0cec129d138a195e64f5bba36602ac5fdeda42d
core/jni: Disable strict aliasing unless told otherwise for now.

I just want this stuff to compile now at this point.

Looking at this with a fresh perspective later is probably for the best.
ExternalStorageProvider: use mount point in device list

For me its is extremely unlogical that only the volume label is used
in the device list. Even more because it can be an empty string
and for a normal android user this information is not visible
anywhere else.

Using the mount point and if available the device label
separated by "-" makes much more sense and shows the same
information as all other apps that access external storage

Change-Id: I3fc3675af6640e37aa999b03ae2de2858237c638
MountService: Add support for multiple storage configurations

Currently AOSP only supports a single storage configuration that is hardcoded
in storage_list.xml. Some device updates are now merging data and internal
storage partitions, and as a result require the storage list to support two
different variations.

By utilizing the sys.storage_legacy property this will allow for the framework
to support multiple configurations which can be determined during boot.

Change-Id: Id795520425ea3e99a5234e10c978dcdbd68a1311
base: dont call cancelPreloadRecentApps if we have app switch on double tap on home

Change-Id: Ie8f63dc6d1ca572f7f993b78019d06750560458a
base: added national roaming for Aircel in India

Users of Aircel (Tamil Nadu) MCC 404-MNC 42 can roam on Aircel (Chennai)
MCC404-MNC41

Change-Id: Iaef2b8d634c13395c7328ba5a86b21ed9f39bfb9
base: cleanup duplicate alarm sounds

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

Alarm_Classic is the same as Cesium (updating meta-data)
Promethium had wrong title meta data

Change-Id: I8096a12d2690691ae5252e1ffc48184f0a2c9510
base: added national roaming for 3AT on orange austria
Users of 3AT (MCC 232 MNC 11) can roam on Orange (MNC 05)

Change-Id: I6c0823acda265faca3bf3a851cbec8b848668b2a
Framework: Add Landscape layout for ECA

Now: http://i.imgur.com/R5mfgrb.png
Before: http://i.imgur.com/uHmnv4H.png

Change-Id: Ia8ce0d89814f99a2b9ec6078a301502e34a035b0
build core/jni with fstrict-aliasing

PS2: Make our own SkRect so skia doesn't need to know what an android::Rect is

Credit to David96 for the inspiration for the fix

Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Change-Id: I3233728d8a0a44d085f20729b3c24f197d75741e

Conflicts:
	core/jni/Android.mk
frameworks/base: Fix SystemUI crash on Recent Apps list

Issue: SystemUI crash is observed when Context MenuItem "App info"
       is selected on the recent apps activity
       1. Open the rencet apps list
       2. Long press on any one/more recent app(s)
       3. Lock the screen using power key
       4. Unlock the screen using power key
       5. select menu item "App info"
       6. SystemUI process will get crashed.

Fix: Changed the code to make sure that only one context
     menu is active at a time and also dismissed the
     context menu on pause of the RecentsActivity

Change-Id: Ia50bed7bfad6fde7beeaec37fa6402177eee1d40
base: check also for mLayoutParams before calling checkForRelayout

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

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

Change-Id: I06c1926c5b8102b336d128d9b411f74a9eff3ded
SystemUI: add missing status bar image

Change-Id: Icaf4d179b538818f5782637d403de212d0e0a841
DocumentsUI: catch berserk apps on building recents

We should not crash Documents app because of that

Change-Id: Ie89a10c5005aef7f3e75a4f5a17f018e0fbc0814
Use default visibility for Snapshot::getLocalClip.

The method is in libhwui.so but used by libandroid_runtime.so
(via android_view_GLES20Canvas.cpp). If the compiler decides not to
inline this method, the linker won't be able to resolve the dependency
when it has hidden visibility.

The problem is found when testing GCC 4.9.

Change-Id: I3b4d096c7767f0bef0796886dfb2c5ba2ecff48c
base: add roaming for Lycamobile USA

LycaMobile USA (MCC-311 MNC-96) can roam on T-Mobile USA (MCC-310 MNC-26)

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

Change-Id: Ie9201cb7bb9efc4e455f1009a7c9a84336f3a8ad
Base: Fix crash of SystemUI

Change-Id: Ie18faac4dce45eb2fe9ca07d628bed7cd0eafaab
MountService:  Support for alternative LVM storage list configuration

To facilitate allowing a different storage_list to be used when LVM partition alteration
is detected on a device, add a new storage_list_lvm.xml - This will be chosen when the
property ro.lvm_storage is set to 1 or true

The init scripts will set this property when an alternate storage configuration is
detected.  If the property is not set, the system will simply use the standard
storage list configuration

Change-Id: I4c3b636afad8b3343df83d97c7febaafd5d22f25
Use char16_t for char things.

When compiling in C++ mode, the compiler will complain about conversions
from uint16_t to char16_t. Be consistent in using char16_t for strings.

Change-Id: I052b6176ced635162920b31560052d9a64f92764

Conflicts:
	tools/aapt/ResourceTable.cpp