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
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
Needed lockscreen strings
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