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
(cherry picked from commit ebbacb00e894ce3737bf0e194d27c557dcebdf9a)
Revert "Set some GC parameters only for dalvik"

This reverts commit de4539603e165f8df0d23a21b6a285213d7f712e.

Change-Id: I2fd71b8b8b6e72cdbe929bfc2afe275cb46e6c29
(cherry picked from commit 4c3f1e9e30948113b47068152027676172743eb1)
Merge "QuickSettings: fix long press on LTE Tile" into cm-11.0
(cherry picked from commit d196beb2e60ea7ce6d80b77d454d1f63e600a9c4)
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
(cherry picked from commit 5ca6e32f29e3a8872be9352829cb26d98be820d0)
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
(cherry picked from commit 03ff3d2a73eff78237b11f363a3e68efe382c3d7)
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
(cherry picked from commit 1c3ab4b4fbb298aa134c36a3cb3c70f52fde2b75)
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
(cherry picked from commit 44b2d624348cbdb0ae98e94b74fbd81c7c78f757)
Revert "Freeing frame map"

* This is causing a page fault on some devices.

This reverts commit ebbacb00e894ce3737bf0e194d27c557dcebdf9a.

Change-Id: Id3fe36b8d0d025092723287ca4024446e45fc4d4
(cherry picked from commit 16742e56e2bc7d6cded4f7e98449de658ded7343)
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
(cherry picked from commit a31e90d2198efe82c0912a1317e1a9e12e0c3a97)
Fix Javadoc link for getModifierBehavior()

Change-Id: I571db5147a081fcd7190483ba9e7a45b46db224d
(cherry picked from commit 1fd47d8a7488dc3184382335f03ae1c74fbebb9b)
Remove duplicate notification...

...Sirrah.ogg is a duplicate of F1_New_MMS.ogg (aka Captain's Log)

Change-Id: I574500e0c4986753fbbb52455dc438874ee7251c
(cherry picked from commit 43720afe2936cb8d1eb1b3da6e3136f1848d8a1a)
Add android_system_label to symbols.xml

Change-Id: Id5ae4f440becb5039b189ea59a5c459178550e46
(cherry picked from commit b8e5b4918279debafaae99b87c55d44c8307345f)
resume: fix recents showing up when waking the device with the home button

Screen is on but dispatcher is not enabled yet.

Change-Id: Ib98d595563ed3df5c7a1e6e4d5a4da83a721537c
(cherry picked from commit fef17446345d7fa4b274448905d1d51c13ec643c)