Camera : Powerkey shutter (1/3)

Allows user to take use power key to take pictures/videos

Patchset 2 : Add mask to setFlags
Patchset 3 : Rebased

Change-Id: Ic54cae422d7cf66c28d9ca778eca7931cc62c851
hwui: Disable framebuffer discarding for exynos4 devices

Change-Id: I27671f1dfc32f19dc792b9b13c328247e2b7b5fc
telephony: HTCCDMAQualcommRIL: allow CDMA + LTE devices to get subscription from NV like normal CDMA.

This is inline with stock implementations on Sprint. These devices have embedded SIM cards, use NV to provision instead of treating it like a GSM device and obtaining subscription from SIM card. These devices also implement RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE and RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE which switch subscription sources depending on whats needed.

Change-Id: Ifa0bd37ef47736b9c040f6ec7279724116f4d5e5
Merge remote-tracking branch 'cm/jellybean' into jb-dev
Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Change-Id: I524b294c57ba80f19cf1af808af65ce1308f5a0b
DevicePolicyManagerService: Allow KEEP_SCREEN_ON

Don't clear Settings.System.STAY_ON_WHILE_PLUGGED_IN just
because device policy sets a maximum screen lock time.
It's meant as a security measure but it's broken.
Any third party app with android.permission.WRITE_SETTINGS
can override the disabling at any time. This only causes
major inconvenience for developers without any added security
and should be disabled.

Change-Id: I1477792e3909022d951f9629dee6a00a7e69a5ea
Backlight settings, preliminary, but works

based on CM9 code

Change-Id: Iddcbee98f6588bba428c4059e786d946d7ce2298
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)

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Status Bar Brightness Control: Set brightness by long press the status bar

Sliding your finger on the status bar will continue to function.
See: http://review.cyanogenmod.com/#/c/18625
See: http://review.cyanogenmod.com/#/c/18870

Change-Id: I7bd7c64dc25038e1151b83ec07cc2c7c856f9359
Add Center Clock-Framework Part

Change-Id: I80cfef86d556a468925ec22f42dd1638f7c90565
Fix display of mobile status bar icon when using airplane mode

Change-Id: Icb5b33008f97eaefd67bb4e5acd1e38bcf2dcb70
Hardware key custom rebinding (1/2) WIP

Framework changes to allow rebinding of the actions performed on the following
key press events: Home long-press, menu press, menu long-press, search press,
search long-press, app-switch press and app-switch long-press.

The available actions are: Nothing, open/close menu, recent apps switcher,
search assistant, voice search and in-app search.

Patch Set 1: Initial port from ICS [done by Konstantin Koslowski]
Patch Set 2: Added 'assist' (search) key customisation
             Option for ICS-style in-app search, in addition to jellybean-style
             search assistant.
             Fixed double haptic feedback on virtual key press.
Patch Set 3: Checkbox to enable/disable all custom bindings.
             Home long-press defaults to no action on devices with
             an app-switch key.

Change-Id: If790aae7cf266f90d1afa07acfe91129b2d19489
Kill app back-button : Don't kill default launcher

Avoid killing currently set default launcher.

Change-Id: Iaa2de02cfa1b94faabbb1ca86a01f185a55c5e93
Remove power widget background

Change-Id: Id0bff63011666539a97b262a3f4975f07639a4f4
Konsta's navbar switch for now