Add support for external dock batterys

Allows the external battery status to be read via framework.

Change-Id: I1340071cecab8f1733e58e4f3ba0d304f861f311
Show dock battery level if available

Updated for Jellybean.

Change-Id: Iabfd12eb327a9fe32ffa46eea5c9038263e105a9
Lockscreen : Quick / menu unlock

Unlock password/pin lockscreen without pressing enter button

Patchset 2 : Remove unecessary intialization

Change-Id: Iecb5ed52ef28234f6adad813906dc885296a157c

Quick unlock : Fix bug

There is an issue where users whose passwords are greater than 8 chars and
have quick unlock enabled will be unable to unlock their lockscreen.
This is due to the logic evaluating anything beyond 3chars as a password attempt.

This change modifies the quick unlock behavior so that when typing the password,
each character is considered an attempt, however if incorrect, is not reported as a failed attempt.
Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported.

Patchset 2 : Rename runnable to better reflect its purpose
Patchset 3 : Switch to new behavior
Patchset 4 : Fix padding

Change-Id: Ida6289c77f6724cb42e8d3b82593f29afe3d6d1b

Menu unlock (frameworks part)

    	The option in Settings/Security/Lockscreen was
    	added before in some CM commit, but not working
    	and was missing a proper frameworks part

Patchet 3: Done like master Danesh M wanted

Change-Id: I589c77cd58d7beb4093e334f074c7f7643d90858

Change-Id: Ida6289c77f6724cb42e8d3b82593f29afe3d6d1b
PowerWidgets : Consume free space when disabled

Eliminate free space when the notification widgets are disabled.

Patchset 2 - Restore import order

Change-Id: Ic844fedd407a8ee363e3de97370d6b264fe045d5
Framework: Add missing part of 'Lock before unlock'

Keyguard: Turn lock-before-unlock into a user-configurable setting

Showing the unsecured lock screen (Slider/widget screen) before the
security screen is now a secure Setting (still defaulting to off)

Change-Id: I0a11f82ffe074d289129b2b972ffc0135eea81ed

Other parts were merged already
AudioManager: Handle KEYCODE_VOLUME_MUTE

Implements muting in KeyguardViewBase and PhoneWindowManager too.

Change-Id: I61c7355e1c40706388002a80e2cb68d3bc49650e
Kill App on Long-Press Back Key (framework)

Change-Id: Ib78fff9e32d95a0a112ddd9274b79b3a3aa626b9

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Long press to kill

Bring changes done in cm7 to ics.
- Vibrate on press
- Show message
- http://review.cyanogenmod.com/#change,5191,patchset=2

Change-Id: Ib1e5eba50cef5d72d81b733f87ac39c09d4212de

Long-press back kill app cleanup

Change-Id: Ida791dca1fbfdc2beccf6ff727b67df56f1956a4

framework: customizable kill app via back key timeout

Allows the time it takes for the back key to kill an app
to be customized via overlay.

Change-Id: Iaa43f81ee448ae7a7663254a830011a0bca5e60f

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: Ida791dca1fbfdc2beccf6ff727b67df56f1956a4
input: Fix workaround for broken hardware keyboard support

Using a wrong reference to mHardKeyboardAvailable caused device config
to never report physical keyboards.

Change-Id: I9b64e2d89512436c17fa8929464e2b727fba1cf3
Merge "Framework: Add missing part of 'Lock before unlock'" into jellybean
Merge "Lockscreen : Quick / menu unlock" into jellybean
Merge "Kill App on Long-Press Back Key (framework)" into jellybean
Framework : Lockscreen - Customizable shortcuts

Allow users to choose lockscreen shortcuts / icons :
	Phone - 1-5 targets
	Tablets - 1-8 targets

CM10 port
---------
Patchset 1-8: Initial port
Patchset 9  : Revert to CM9 drawables
Patchset 10 : Rebase

Change-Id: I9b163efeef8f47b1d21f7f61552ebe424049cfeb
Lockscreen : Background customization (Remaining bits)

Bring over remaining bits of lockscreen background customization

Change background selection for lockscreen to be more
consistant on Tablets (2/2)

Change-Id: Ia1a703ce213fa7698a2fb8e1679eefccd521962b

Change-Id: I970e6737bee037a2ada337dd1c527e339e33a5c2
Framework: Fix battery light not showing

Change-Id: I69c3824cc6ca34a8da049f63e9a28c64eca52f16
Merge commit 'refs/changes/91/19791/1' of ssh://review.cyanogenmod.com:29418/CyanogenMod/android_frameworks_base into jellybean
Merge remote branch 'upstream/jellybean' into jellybean