Use generic alarm intent.

Change-Id: Ibb911c1e34ec95cdd52867b8a68cce25f09dbc10
Merge "Use generic alarm intent." into cm-10.2
platform: Fix the gid for the theme manager service

It was mismatched with fs_config, resulting in attribution of the
"-1" gid

Change-Id: Ia6d55af0b39f659da2965f9bc0bda0df5c775ba4
Merge "platform: Fix the gid for the theme manager service" into cm-10.2
PhoneWindowManager: Hardware key handling fixes and cleanup

-   Call cancelPreloadRecentApps for long presses and double taps of the home
    key at the right time based on the assigned actions.
    (Reverted Ibd16ff07b9910605c95180b54040f3e2b78939cb as the issue is fixed)
-   Do not allow any menu key events through to apps if
    mPressOnMenuBehavior is not KEY_ACTION_MENU.
-   Don't cancelPreloadRecentApps when menu key is released after a long press.
    (Reverted Idf1d27aa725547e0ddc44905e27da6c1b4540fab as the issue is fixed)
-   For the menu, app switch and assist keys don't cancelPreloadRecentApps on
    long press if the long press has no action assigned to it.

Patch Set 2: -  Fixed not cancelling preload on long press of home when double
                tap is bound to recent apps.
             -  Reduced delta against AOSP.
Patch Set 3: -  Do not perform long press action when key continues to be held
                down after a double tap on home.

Change-Id: I3cc8f9528e5dbd3e0b78308b03440abd9d9351f6
PackageManager: Let system-defined permissions take precedence over settings

If a permission was already present in the device's settings due to having
no prior system definition, and the system tried to take it over
(after a version upgrade, for example), it'd fail, since the saved
value would clobber the one previously read from the permissions XML.

This breaks system-behavior changes (gid grants, in particular) unless
the user performs a factory reset after upgrading, which isn't acceptable.

Change-Id: If2e44110f6db735ad29cdf1086e814bd1299e290
SystemUI: don't crash when user disable default apps

If the user has disabled the default clock or calendar application,
System UI will crash when the user clicks the Clock or Calendar
from the notification bar. This patch fixes the issue.

Change-Id: Icdc3679cdd35b5b3a24086e1ada67d0defabc5cb
Audio: Fix abnormal keytone playback during silent mode changing

Change-Id: Icfc4003c9756b3c33578c137e59dc4a2b4f25647
Author: Chenyang Du <chenyang.du@intel.com>
Signed-off-by: Ertao Zhao <ertaox.zhao@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 19084 4898
Merge "PackageManager: Let system-defined permissions take precedence over settings" into cm-10.2
Merge "SystemUI: don't crash when user disable default apps" into cm-10.2
Fix

Change-Id: I411e9f2bc49c525cfb4a795abddd3d1a7f8296ee
lockscreen battery status: add off option (2/2)

Change-Id: Ie10015865f161e783dc394d467e456d51dc9fbbc
Framework: Development setting to enable navbar (1 of 2)

This adds the framework support for enabling the Navigation bar
on devices with hardware keys.  Intended for development use.

Change-Id: I23a508fa3268e63fbbc9a8305d011db3ca7722a0
PhoneWindowManager: Delay settings update during window animation.

Change-Id: I90ee5d8f83176a38a32b5ff38c4b191f1b78532e
Add the possiblity of using external sdcard as application storage for user 0

Since Android 4.2 with multiuser it is not possible to use external SD card for
application data (such as downloaded content for games). This patch adds
the possibility to use external SD card as a storage for user ID 0.

Mount point of the external sdcard is supposed to be defined by SECONDARY_STORAGE
environmental variable (exported by init on supported devices) and property
"persist.sys.env.use_sec_storage" is used to check if the storage is
switched. The property is to be set in "Advanced Settings" (for now)
defined under device tree (this should be available to user ID 0 only!)

Change-Id: I73d4711eac53118c0234110f06070fc42a975c44
update

Change-Id: I4dee3a3356efbafcdb87dec017d53c39a25f59df
Revert "Revert "Ported: Bluetooth Message Access Profile (MAP) from CM9""

This reverts commit 4fdffda52654e4441abe9b98536c608e3f35c8ba.
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
framework: Battery bar (1/2)

For educational purposes
Based off of: http://review.cyanogenmod.org/#/c/31912/
Change-Id: I479a296e04ac7ef9463616e73a02fab10eec8b5c
Manually added HALO (1/2)

Change-Id: I823b588bddd828b95040fe29e7c94abe9de8e392