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
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
frameworks: move keyguard wallpaper to system  (1/2)

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