Revert "Policy: fix keyguard statusbar showing while in ext desktop, fixes it in"

This reverts commit 25f6180654aef14859b5e503bfd33f37c5b9b5f2.
Revert "Status bar Auto-Hide [1/2]"

This reverts commit febab89ef0ea179299fdfddc53eb1e2cc9bb045f.

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Revert "Option to show status bar in expanded desktop mode (2/2)"

This reverts commit 1c5ae979a6ed93d2f1a00b543664300e6fa33c61.

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: Expanded desktop mode (1/2)

this commit adds expanded desktop mode. You can decide if only
navigation bar, only status bar or both are hidden when expanded
desktop was activated.

This commit also sorts the entries a bit more logical and alphabetical

Change-Id: I3fe0b1eee6e13cf10debbcbe5338fa901b785c84

Conflicts:
	core/java/android/provider/Settings.java
More options added to hardware key rebinding (1/2)

In the same vein as the available Navbar actions, this adds the following new hardware key rebind options:
 * Last app: Switches to the last app
 * Power button: Turns off the screen
 * Custom app: Launches an application/activity of your choice

Change-Id: I1ca98b1c615e4336c644d0247b4277b9421a96ff

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix issue with hardware keys KEY ACTION comparisons.

Menu unlock now works properly.

Patchset 2: Switched detection of onscreen keyboard input to KeyCharacterMap.VIRTUAL_KEYBOARD

Change-Id: I092258fc20789a12123e319ed2dca25c55bb9f0c

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Framework: Add Home/Back buttons available for rebinding (1/2)

Finally, we can disable or rebind all hardware buttons!
Also adds Expanded desktop toggle and Notification shade toggle

Change-Id: I0ca51c25e8434696a514fd1ef1e1e33543bf066a

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix and cleanup Expanded Desktop Mode

no need to call state and mode several times from provider settings.
Cleaned up.

Also fix for the ugly lockscreen gap on expanded desktop
mode 1 and 3

And fix that mode changes reflects directly to the screen if
expanded state = 1

cheers

Change-Id: I8cc0d936af270d72f2fb5c005a28c575576d894b

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix Expanded Mode

This fixes the erratic behavior that causes fullscreen apps/games
to rotate into portrait, in expanded mode. Weird as usual!

PatchSet:
- small clean up

Change-Id: I72febac50a282f7b5bf570e46ef0dd38215a6bab

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Revert "Revert "Status bar Auto-Hide [1/2]""

This reverts commit f93a90b09f3dc46922471b52aff8186f38623603.

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
derp
another derp
and another build error fix
fix settings.java