[2/2] base: Set AdvancedReboot to be enabled by default
RE: http://jira.omnirom.org/browse/OMNI-1

Because I am a dufus

Edit 9001: Setting this to be enabled by default for all users

Change-Id: Icd2c10ffd20c172374c51f300912b5c710f73bf8
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
DocumentsUI: Add a standalone File Manager

This commit adds a standalone mode to the DocumentsUI, to let
it act as a file manager/explorer.
You can browse your storage contents, open files, and delete them,
as well as do everything that the DocumentsUI can do (ie. sort
by name/size/type, list and grid view, recents, search, ...).

This gives us a consistent file browsing UX accross all apps
that uses the new documents API.

Change-Id: If73a3c100f010bdb766c843976d4fd3573ea805c
Quick Settings: remove unneeded casts, update resources when asked

Ported from:
http://review.cyanogenmod.org/#/c/29331
http://review.cyanogenmod.org/#/c/29350

Change-Id: Id00ebdc4e4c5a2a3e7edc21e2e51468d9bc0d59a
base: correct default enablement of battery light

Use default value from config

Change-Id: I50a0e78bf4528ee8991da41aa1fdcfaaa30b107d
[2/2] Framework/base: Configure headset hook

Whether or not to allo headset hook to launch voice commands

Useful with headset control programs

PS3: Dont use getIntForUser directly. It breaks
PS5: Whitespce
PS6: Rebase

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

This fixes restore issues with properly done 4.4 gapps

Change-Id: Ib0cec129d138a195e64f5bba36602ac5fdeda42d
QuickSettings: change signal tile to turn on/off mobile data

There is no method to turn on mobile data with 1-2 touches. Every method
implies that you press 3-4 times, and for me this is annoying.

This commit add the action to turn on/off mobile data on signal tile touch
and long touch to go to data usage.

Change-Id: I17e0041464fabb3cf42faf5680b9945bb63b20d9
Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
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
Added sahlnaskh arabic font and give it higher precedence than DroidNaskh

sahlnaskh font is a fork of DroidNaskh font with some issues fixed.
Details of fixes are in https://github.com/khaledhosny/sahl-naskh

This should fix Jira issue: http://jira.omnirom.org/browse/OMNI-307

Change-Id: I95d118b889fb5e32e66e3a634c147274205f6631
Add missing drawables for mdpi

this fixes FC's on enabling "contextual notification" in Settings

Change-Id: I678295725cf5c060c95841f96af450e44c87e598
Added sahlnaskh arabic font to Android.mk & fonts.mk files to actually get the font installed

Change-Id: I5f954b3f0d3a53495077389d976804883e4e838a
base: apply custom timeout upon volume dialog instantiation

The custom timeout is correctly applied at runtime, but after a reboot
the VolumePanel will revert to the default timeout, since the custom
value is not read from the config during instantiation

Change-Id: Ifa389011247adeee70ad5f3ff0b0072dd3dff02a
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