Fix switching running/cached apps with memory bar

Fixes upstream issue #38735
http://code.google.com/p/android/issues/detail?id=38735

Ported from CM10
http://review.cyanogenmod.org/25775

This patch is already submitted to AOSP. No feedback from them yet.
https://android-review.googlesource.com/45993

Change-Id: I484e30d3fd4f5425e174911ae22bb2def170e6b8
Settings: add Advanced Settings under Display

For use in TV-Out settings and mDNIe

Change-Id: Ib595b81a11e19f8526e532400e57f5771db09499
Merge "Settings: add Advanced Settings under Display" into cm-11.0
Merge "Fix switching running/cached apps with memory bar" into cm-11.0
CM -> Mackay

Change-Id: I92f29472240802412f7e3dfb3fcaa1e52feb1696
Disable on/off toggle button for profiles on Settings main page

Change-Id: I6c4918817df45a01fe76c29a4bb9ae2fe4355aa9
Return to the old-fashioned device settings option

And move headset connect option to sound settings

Change-Id: I862bce2aa406b9153dba243abca71421e0f08929
Added FastCharge QS Tile

Originated from SLIM
Some improvements from fishears

Change-Id: I771e90cb559c823072d7291ee8912dd76d33cc3d

Conflicts:

	res/values-nl/cm_strings.xml
	res/values/cm_strings.xml
Port "Option to control cursor in text fields using volume keys (2/2)"

Change-Id: I9b56bad709669920629d391a97825b0cd0434f35
data usage cycle length

you can choose between daily, weekly or monthly data usage cycle

Change-Id: Idfbd9685541b14a36b8e99da5ea184ffb1c330fa

Conflicts:

	res/values/arrays.xml
Forward Port Circle Battery

Change-Id: I587548834f70874e74f3e986fcb187c2c9d3a1cd

Conflicts:

	res/values/cm_arrays.xml
New setting under "Debug settings" that enables the development shortcut

Change-Id: I9a43e611911f2e278605715f714860ad11236fd9

Conflicts:

	res/values/cm_strings.xml
	src/com/android/settings/DevelopmentSettings.java
wifi: Allow configuration of country code for wifi (2/2)

Wifi country code handling is a nightmare - Most retail devices
have region customization in /system for each country a device
is shipped to.

This doesn't work very well for a firmware like Cyanogenmod,
where we try to support all target countries with one firmware
package.  For whatever reason, with newer Broadcom drivers/
firmware blobs, the old trick of using a universal region code
(ccode=ALL in nvram_net.txt) does not seem to work.  Who knows
what the deal is for other wifi chipsets.

The good thing is that wpa_supplicant has a standardized
cross-chipset method for setting the region code, and we
use that here.

Ported from cm-10.2
Framework part: http://review.cyanogenmod.org/54997

Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf

Conflicts:

	res/values/cm_strings.xml
Reorder and clarify lockscreen widget settings

The option titled "Widget pager" actually completely disables lockscreen
widgets, not just paging.

Change-Id: Ie9883f24c7812d96994d2efbdd79d298352f5bf8
Modify Changelog to fragment

Patchset 1) Initial commit
(gweedo767)
Patchset 2) Clean up XML and imports
(gweedo767)
patchset 3) removed setHasOptionsMenu
(gweedo767)
patchset 4) removed hardcoded string and one unneeded string
(gweedo767)
patchset 5) fix spacing in Manifest
(gweedo767)

Settings: Remove Changelog Summary
Remove the redundant summary to the Changelog in About Phone.

Change-Id: Ia808792e31018ca91757b1956c14724a0e6f5c53

Ported from cm-10.2

Change-Id: Id39c3d44cf364b98bd8450db378d3dcfe7301fbb