Revert "Location tile: Add a label for all states"

This reverts commit eadefe3bd5eea19ed3e7d03f02a5844c6ca76cca.

Conflicts:

	packages/SystemUI/res/values/cr_strings.xml
Revert "QS: let's welcome LocationTile to 4.4"

This reverts commit d19e37af3e4fbc64c9d80a1b0e84b0ce177bd4bf.
Update the GPS tile to use the appropriate location modes

With 4.4, there were new location modes this tile did not support
Update it to turn the GPS on/off without changing the network-based location
option, and use a new icon for battery saving mode.

The tile will now either toggle between high accuracy and battery saving,
or location off and device sensors only.

Change-Id: Ifdfb9832c77671ab1f0c415ea2c25dfee2888578
SysUI: Use LocationController from status bar service for GPSTile.

Change-Id: Iaf24f25432ec2238bc8b0785b78f6acb21bb78cb
Update the GPS tile in the constructor

Change-Id: I985ba2ab769e67c0d43fc67922fe1174bba195f4
frameworks: move keyguard wallpaper to system  (1/2)

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

Conflicts:
	core/java/android/provider/Settings.java
Return system theme when SecurityException is caught.

Isolated processes cannot access content resolvers so a SecurityException
will be thrown when calling getBootTheme.  This catches that
exception and returns sSystemTheme.

Change-Id: If4077adef4c657b80ba2c52a6610126dabe4ffdf
idmap: Don't log spam "CREATING STRING CACHE"

Change-Id: Idce5aa5881c8e860eca9749cc85f748303c913c0
Fix a NPE when putting a null-Bundle in an Intent

Happens frequently e.g. with GoogleAccountAuthenticator

Change-Id: I284bf153f40ee9cc3e70bce6efcc3b9e6706361b
Freeing frame map

FileMap memory is never released until application exit

Release it now as the texture is already loaded and the memory
used for the packed resource can be released.

Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343
Revert "Set some GC parameters only for dalvik"

This reverts commit de4539603e165f8df0d23a21b6a285213d7f712e.

Change-Id: I2fd71b8b8b6e72cdbe929bfc2afe275cb46e6c29
QS: Add TD-SCDMA support to the LTE toggle tile

Recognize TD-SDCDMA LTE modes as valid LTE to light up the tile.

While I'm at it, remove the network checks from the actual toggle
action, since TelephonyManager now ignores the boolean argument
and always toggles, making the checks pointless.

Change-Id: I8e0020def1f091a6fef9dce4d9700478a826e9a3
QuickSettings: fix long press on LTE Tile

Fixes network settings to work on single sim.

Based on http://review.cyanogenmod.org/#/c/62875/

Change-Id: I369bb0f99d8acdad27947e10823bc50bd75f4c28
LocationServiceManager: Fix deadlock due to updateMonitoring.

AppOps can be blocked if askOperation is called from main thread.
This causes location service manager to block while updating monitor
information of all location update receivers.

Fix AppOps to report all askOperation calls from main thread.
Also fix location service manager to handle MODE_ASK.

Change-Id: I085f01e992f60456ad24921bf4ce508ece54e8a6
Bluetooth: Adds check to verify Bluetooth adapter state

This checks whether bluetooth is turned ON or not in
BLE stop scan process. BLE scan apis are called from applications
so need to check if BT adapter state is ON to avoid Bluetooth
crash

Change-Id: Ifc472be9b3f8baf978d6cdca2e4743a75b951635
CRs-Fixed: 634617
Bluetooth:Settings:Handled ACTION_STATE_CHANGED intent at boot time

BluetoothAdapter.ACTION_STATE_CHANGED intent is added to foreground
activity to handle BT sync issue with  Power widget at the boot time

Change-Id: Ib26cb4630c711587da789dc920aa66ded97a9a3b
CRs-Fixed: 576879
Send Media button events as foreground Intent

Send foreground intent for Media Button events to Music Player
so that there is no delay in handling these Intents after the
device is rebooted.

Change-Id: I952a8af93586cb96c0a9f6dc910bfb49287f4b9a
CRs-fixed: 611219