Wireless charging alert dialog.

 - Reason for adding this most devices with wireless charging the oem
   software providers a popup when charging starts (eg. placed on
   charging pad) and when charging stops (eg. lifted off). I personally
   like this feature so thats what this does.

* Set on wireless charger and alert dialog pops up "Wireless charging"
* Lifted off wireless charger and alert dialog pops up "Charging stopped
* All this follows certain other settings too. Like Wake when plugged
  or uplugged. When wakeWhenPluggedUnplugged is true. Alert dialog
  happens as the device will wake anyway then. When false no alert
  dialog is done even.

Signed-off-by: baked <travp624@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/values/baked_strings.xml
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java

Change-Id: I2b568c2f676d2e50e1dea7d2f6dd90dc6fd8fadb
Add "Turn WiFi off" action to "Open networks" notification

Forward ported to kitkat

Squashed:
add "Turn Wi-Fi off" action to the "open networks available"
notification
add missing xhdpi turn wifi off image
WiFi open network notification: fix potential crash

Change-Id: Id1fd4f50755c5172cdc557fc27e2298290edecef
Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/res/res/values/baked_strings.xml
	core/res/res/values/symbols.xml
base: update link ring-notifications after read user settings

Change-Id: Ib424124dc20e38243e572333e323ba97aacb1111
JIRA: CYAN-3559
Issue: https://jira.cyanogenmod.org/browse/CYAN-3559
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Remove settings gets from ViewConfiguration execution path

Change-Id: I3f29dafc9e178861910423e324d433fc1bc1e6a1
HeadsUp: option to launch in floating window [1/2]

Change-Id: Ia8ffb4088f5b48b222a77ef486ba8b14e193c26f
StorageManager: Reserve only 5% of available userspace

Change-Id: Ifddeff735fb71317e0507ff601e85629b0f95562
Revert "Revert "improve a calculation method for LTE antenna reception level""

This reverts commit 7700df46d407bb80902e7f903c2c63ec72fd1211.
Telephony: Add support for NETWORK_TYPE_GSM

Add support for NETWORK_TYPE_GSM in TelephonyManager and
corresponding mapping in ServicState.java so that when
application queries getVoiceNetworkType() and currently
camped rat is GSM, they get network mode as GSM instead
of network mode unknown.

Change-Id: I5e971c625532696776b9555ad8cfd85eba4fc423
CRs-Fixed: 526435
(cherry picked from commit 3e01fcec13725955f0ca3fb20730ff21f4edc128)
(cherry picked from commit c70f5687965908cd585e52901cf6cd88bd405140)
(cherry picked from commit 8e3c2300729ecb3cd3e6b640b0174f49e2189f0c)
Telephony: Add TD-SCDMA network modes

1)TD-SCDMA Signal Strength support.
2)Add TD-SCDMA network type support in MobileDataStateTracker class
to identify TD-SCDMA as UMTS variant and use the relevant
kernel data stack tcp buffer sizes defined.
3) Add TD-SCDMA to the list of supported network modes.

Change-Id: I158821574484bfaf47d1660406e591e2afb3be5e
CRs-Fixed: 403258, 479310
(cherry picked from commit 2ba1b7292c6b458fb72587c1f29a5c00b70717cd)
(cherry picked from commit d58b065e7e3d84461a3c981e7a7d4673f3567ef5)
(cherry picked from commit 7844d69d3d323b3969766309c2ad5bc80411fbae)
Telephony: Ignore the timingAdvance field in SignalStrength

Ignore the timingAdvance field since the frameworks is not
utilizing this field.

Change-Id: I8644f20aa1918514da88db5a8bc7394263d61e30
InputWrapper: opt out early if session == null

Change-Id: If111195ba6425ad6b8663601566f9f260738ec77
fb: respect config_animateScreenLights and fade out if set to true

Currently if config_animateScreenLights is set to true the settings entry is not shown
but the default animation is not fade out which it should be in this case.

This commit fixes this.

Change-Id: I02dfa15d65bc6da30f4e19fbf4698a669cb0e2c8