Lockscreen Shortcut : Delete entry if reset

Delete the entry when resetAll is selected so that original AOSP
behaviour is present, such as magneticTargets.

Thanks Eddy Witkamp for reporting

Change-Id: I04e03336d8f51fd9683f6d859a649a37e68655ba
LockScreen: allow long-press actions from hardware keys (2/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10

Change-Id: I36ea5eb7e93d68de872536dc6d7e93f99ba1621f

Conflicts:
	AndroidManifest.xml
	res/values/arrays.xml
	res/values/strings.xml
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/arrays.xml
	res/values/strings.xml
Settings: Fix Lock screen Battery status summary display

Change-Id: I848751b4db2d55f156c2e256756ed749d8b512fb