Settings: Forward port CM Screen Security settings (Part 1 of 2)

includes:
- Menu Unlock, Quick Unlock, Home unlock and Slide lock delay settings
  Author: DvTonder

- Lockscreen cleanup: Rework the logic to separate cm lockscreen
  settings from stock lockscreen settings.
  Author: Danesh M
  Id: Ic3eebc30fbb55afa6254889b17bde6e3083d1847

- Fix unknown sources crash
  Modify logic to only make cmsecurity specify the extra,
  any other time, default to stock security
  Author: Danesh M
  Id: Ida4b8ccc2f41d79aa9013029b4245ae4d3cd4496

- Adjust available options based on screen lock picked
  Disable / enable the available screen security aditional options based
  on what screen lock was picked.
  Author: jfassad
  Id: I634b18b58d0e1a1c075f9808776fc4f685316221

- Add home button unlock option
  Author: invisiblek
  Id: I10b96b2f788ca26bc45f1758e612b9dfe7beff59

Change-Id: I0dda524830d8dce571910eb1fbd66d5b5af11bff
Settings: Add option to always show battery status on lockscreen (2/2)

Based on the feature by burnsra in CM7

Authored by blunden
Tweaked by dvtonder

Screenshot: https://dl.dropbox.com/u/50993944/Screenshot_2012-08-03-08-47-16.png

Patchset 1  : Initial commit
Patchset 2  : UI redesign
Patchset 3  : Patch description text updated
Patchset 4  : Fix derp in comments

Change-Id: I1c8c8eef3d0c913c621f735e7d5e395c8768fe76

Conflicts:

	res/values/strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
Fix lock screen battery status summary display
Settings: Option to start lock screen widgets maximized

Change-Id: Ie14eb08809cf55d18661c713440268a83697a579

Conflicts:

	res/values/strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java

Conflicts:
	res/values/strings.xml
Settings: Use proper 64x64 XHDPI icon for Security Settings

Seems AOSP had a copy/paste derp.  The XHDPI and the HDPI icons are
the same (48x48) where the XHDPI one should be larger.  I am using the
CM10 icon now.

Change-Id: I1ad2f30400d24187848fbef0ae907fd8f71edde4
Display lock screen widget maximize for phone only

- Hide the option when not utilizing a phone device, as widgets are already maximized

Change-Id: Id6700b31fbd108851c846f68cc9d845fb8b3830f
Settings: Custom lock screen background [2/2]

Patch Set 1:    * port the custom lock screen feature from
                  ics (http://review.cyanogenmod.org/#/c/16914)

Patch Set 2:    * rename some strings
                * use constants instead of numbers
                * fix some code styling issues

Patch Set 3:    * code cleanup

Patch Set 4:    * rebased

Patch Set 5-6:  * code cleanup

Patch Set 7:    * fix comment location

Change-Id: I35e5c70fff423770a03b5bb39d439ebea82dd56a

Conflicts:

	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
Settings: disable expanded desktop on power menu disable

If expanded desktop is enabled while the option for expanded desktop
setting is disabled, expanded desktop will remain active and the user
will not be able to disable expanded desktop without reenabling the
setting.

Change-Id: Ia91e34e5ce9f8680f64b81e5f79c2df6f0639bb2
Settings : Toggle expanded desktop for navbar

If entering the navbar screen with expanded desktop enabled, the navbar
is not shown hence hindering the ability to use the panel

This patchset addresses that by disabling expanded desktop upon entering,
and re-enabling upon exiting if it was previously enabled.

Patchset 2 : Fix state issues

Change-Id: I2776cf971f8899d30a25c0bf6b418793153555fc
Needed lockscreen strings
Settings: Navigation bar Quick launch shortcuts (1 of 2)

This allows up to 3 targets on the Navigation bar ring
or Home buttons with custom Quick launch shortcut actions.

Patchset 1 to 17 - Initial commits and edits
Patchset 18 - Update preference layout
            - Use AOSP terminology for the feature name
            - Group under new 'Navigation bar' category
            - Rename Navigationbar buttons configurator
Patchset 19 - Update commit message with x of y indicator

Change-Id: I91a7b86b7bfa79526b537e28b510ec078a58c956
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
Contact icon label

Change-Id: I55373c25386e9d3954aebfed50222e023e989d0b
Option to use volume keys to control media volume anytime (1/2)

Some users don't adjust ringtone volume often (e.g. only use toggle to
switch between silent and non-silent) mode. Having an option to
use the volume keys to control media volume anytime allows media
volume to be controllled/muted before entering a game or other apps
with sound in an undesirable location.

Change-Id: I6dbd25d1a14bcf5b1bf0b0468b96f4b4f8efdb14

Conflicts:
	res/values/cm_strings.xml
Navbar extra settings
Option to hide lock pattern dots
Purity Dark UI mode toggle

- Credit to slimroms
- Thx Ruse for your amazing icons
Better string
Launch music player on headset connect