telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid

If the previous values are invalid and signal quality is -1, chances are there's
no LTE signal at all, so don't calculate the SNR and mark it invalid as well.

This fixes the strength indicator in GSM devices where it was being skewed
by the ghost LTE value

Change-Id: I070573401c141aa99941a332ee256246697abb90
core and telephony: Additional HSPAP support

Change-Id: I5e921d2308d873678d6ef67a91cff50d383a176b
TelephonyManager: isSmsCapable: respect telephony properties

The 2 telephony properties override if SMS send/receive is enabled
in the telephony code. Also respect them for the isSmsCapable API.

Use case: Acer A700/701 (Wi-Fi only/3G) share the same build

Change-Id: Iaa1b45c62fa5a48a4c4a222d5e47980dd1678d48
FB: HI-Translations

Change-Id: I0de54e0ab4e31dcdccfb9b0fdf184f47e6be3595
SystemUI: HI-Translation

Change-Id: If69b8d04f0e51ff577426c8326778fe320945ab2
Framework: All Shake Patches (1/X)

Included:
	Keyguard - Disable Shake if isHidden
	Disabled Shake Apps (1/2)
	Shake Sensitivity (1/2)
	Keyguard Shake Events (1/2)
	Shake To Perform Event (1/2)
	430942 miscellaneous fixes

Change-Id: I47707f51e61ba0d4687e0232d684de7ee6b0eb72
SystemUI: Smart Pull-Down - Any Notification (1/2)

Change-Id: I8656b75550ea0d30d4c620160221ca22ffe1af92
PackageManager: Fix concurrent access to shared state

Stop multiple threads from all calling add on the same HashMap.

Cleanup the use of a boolean flag by removing concurrent writes
to it.

Change-Id: I8d61fe7294dcb67ee7d0d7de88d90d2051c310e6
Merge "SystemUI: Smart Pull-Down - Any Notification (1/2)" into kk4.4-caf
[1/2] frameworks: Adding old-school (JB like) battery percents style
due to its better visibility.

Also added "No battery" style.

Added percents visibility while charging and
colorizing percents while charging

One selector made obvious

Removing unnecessary code

Setting green color for text 90+% charged

Now bolt color means color of circle battery, not percents

Fixing percentage color while charging for "text only" style

Fixing percentage color for JB style

Adding green percents color when charging and >90% for circles with percents too

Including Juba's changes regarding battery tile with no battery in statusbar
and styles order

Line to long and use static reference

How does it look like:
https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen1.jpg
https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen2.jpg

Settings change: https://gerrit.slimroms.net/#/c/5755/

Change-Id: I7505c7e35c252a0fac0bd37db4be33bbff89ef41
Framework: Custom Tile Double-Tap (1/2)

Change-Id: I50461ddea85cb03e5c04b43e6a6b09411dba9a0d
Framework: Fine SeekBar control

Allow user to move their finger in the Y direction
	to change the speed at which the seekbar will seek
	on moving their finger across the X direction

PS2: increase time constraints by a bit
PS3: decrease distance constraints, lol

Change-Id: I1fc8db16820fd3615436ee0be6ce0bf4394c0808
Framework: Ensure Intent.ACTION_USER_PRESENT Is Sent

If the user set a keyguard delay (AOSP-Secure-Delay)
	and the screen turned off, many processes will
	thus assume the user is no longer present (true).
	If the screen is turned on before the keyguard
	enables itself, the USER_PRESENT broadcast is never
	sent and the app/process will not know the user has
	returned to using their device.

Change-Id: I6301848043fbf2d76513a20ae189d28018473202
fb: translation - RU

I47707f51e61ba0d4687e0232d684de7ee6b0eb72

Change-Id: Id9798b47c8f217b121053f7c8cfa97aa76d34cb8
AudioService: fix safe volume enforced even when disabled

On onConfigureSafeVolume, the proper API was not used, leading
to the setting not being respected. Sometimes after boot, the
heaadset volume will be set back to the safe volume.

Change-Id: I5ba8bb1a18ce97ed64646663c7e75cb277356778
power: Add CPU boosting interface

 * Boosts CPU using Power HAL for the given duration.
 * Duration is given in microseconds.
 * Power HAL must implement POWER_HINT_CPU_BOOST.

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b

Conflicts:
	services/jni/com_android_server_power_PowerManagerService.cpp

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b
PowerManagerService: Implement setButtonBrightnessOverrideFromWindowManager method

Differs from Android 4.1 (and earlier) implementation in that the
overridden button light still turns off after BUTTON_ON_DURATION instead of
staying on until screen off.  However, button lights are annoying, and
really the purpose of this is to allow apps (e.g., Screen Filter) to
_disable_ the button lights altogether.

Change-Id: If0639dbe01134b72b05fee7f8cd9368dc9a71e4f
Keyboard light: Fix the physical keyboard not light when it's visiable.

Change-Id: I595afd3cb6b422a17ae0f6ec20aa51979db13810
Add PowerManager integration for button and keyboard backlight.

Allows setting button and keyboard backlight brightness as well as
button timeout.

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java

Conflicts:
	core/java/android/os/PowerManager.java

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4
HardKey light:
if using the hardkey lights only, without the keyBoard patches you MUST use this patch or else your build will FAIL

Change-Id: Ic6b11dba73e7b7d1b76434f1c6e0b813c7cb5409