Fix button backlights that depend on ALS.

On a few devices, lighting the buttons when the screen turns on
depends on the lightsensor, regardless of the user preference.
So go back to enabling the sensor whenever the screen turns on, and
enforce the user preference after running through the light settings
once.

Port from CM9.

Original: http://r.cyanogenmod.com/#/c/12818/

Change-Id: Ibb9155b4f299637d553986c44b9cb548dc855489
Fix Navbar for tablets & other non x-hdpi devices.
Also establishes controls for NavBar placement for
new Phablet UI and pending merger with Tablet Status Bar
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Change-Id: I7d2e0a315f1331b205c61ba327ae6be9a74ba8bb
Fix improper resizing of navbar icons in landscape and improper torch icon size

Change-Id: If8511c4a2a6f979ca969ac24bad07688aef979be
Signed-off-by: Kyle Teague <kwesley1020@gmail.com>
Merge "Fix Navbar for tablets & other non x-hdpi devices. Also establishes controls for NavBar placement for new Phablet UI and pending merger with Tablet Status Bar Signed-off-by: Zaphod <mwilson@acesappraisal.com>" into jb
When reconnecting disassociate dc and apnContext.

This is done in onActionIntentReconnectAlarm, which is called when
retrying after an error, by setting the ApnContext.DataConnection &
DataConnctionAc to null which intern clears the DataConnection.mApnList.

With the mApnList cleared DataConnection.mRefCount will not be incremented
because the DC will not be found by findReadyDataConnection. Thus fixing
at least one cause of 6529189.

Bug: 6529189
Change-Id: I40ff1966f6fbd2f69e97d77b9db7122e4c5b992f
Preserve retryCount when retrying.

Bug: 6529189
Change-Id: I743aed08aa161d91899aeb2ccacffcd224e48c0a
Commit themes to AOKP:
Squashed commit of the following:
maniac103: Allow theming of framework UI elements - a528877173
rmcc: SimUnlockScreen: Explicitly register themeChange receiver - 8da5dd0a5
rmcc: Fix theming of the Shutdown Thread - 0d6dea4e2f
rmcc: Merge branch 'themes-4.1.1' into cm10 - 5a35f209e

Change-Id: I16fff820fcf74394ce2884106887f8e284ffe235
Merge "Fix improper resizing of navbar icons in landscape and improper torch icon size" into jb
api: Remove non-standard entries, revert to the 4.1.1 standard

hide ALL the things! _o|

Change-Id: I8d7c38e395f64c6b0622d556a5fe45b135563467
Services: Notification LED Customization

framework edits for LED

Change-Id: I368f2af6588dfb5eb58a11018e967ac820984805
Signed-off-by: Adam Fisch <adammfisch@gmail.com>
Services: Fix herp derp for LED

LED will now change without a reboot needed
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Change-Id: I80b99d72a0cd85b8833b3bd80a5e2da0e8c1c4a5
Merge "api: Remove non-standard entries, revert to the 4.1.1 standard" into jb
implement noise suppression for phone calls (1/2)

Change-Id: I3604c51aae676025d29511f0547e755e42d56b38
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 'aokp/jb' into aokpcm10