Frameworks: Port hardware key rebinding
squahsed commit 0f cherry picks from
Cyanogenmod:
   Framework: Forward port Long press back to kill app db3817d
   Hardware key custom rebinding (1/2) b055725
   Framework: Bring Long press back kill app toast back 08641ec
SlimRoms:
   More options added to hardware key rebinding (1/2) 22bd763
   Fix issue with hardware keys KEY ACTION comparisons. 4812ee5
   Framework: Add Home/Back buttons available for rebinding (1/2) 5f20d08

removed code for hardware key expanded desktop actions
removed code for hardware key notification shade toggle

Conflicts:
	core/res/res/values/gummy_symbols.xml
	core/res/res/values/oct_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
[1/3] base: omniswitch as default recents

OmniSwitch provides broadcast events for showing
and hiding the overlay

We need to make sure that OmniSwitch service is really
running else we will get no recents at all. Also on startup
it will take some time until the OmnISwitch service
has been started.

OmniSwitch will send a service start and stop broadcast
that will guard the usage of OmnSwitch

Change-Id: I31c5ae8839603b6e92b1a4613c793a9427aad2e2

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Base: Disable proximity sensor when screen goes on in ActiveDisplay/PocketMode.

Active Display (in Pocket Mode) currently only switches off the proximity sensor in some cases.
If the user switches on the screen itself, the sensor is left running. This change
stops the sensor as soon as the screen goes on. Active Display already started the sensor each
time the screen goes off.

PS2: In the mode that turns the screen off again when the device is pocketed,
the sensor stays on until you leave ActiveDisplay.

Change-Id: Id7afcd858f341ad929606d302c5741efa99a7c6f
googlebackuptransport: fix for google backup and restore

This fixes restore issues with properly done 4.4 gapps

Change-Id: Ib0cec129d138a195e64f5bba36602ac5fdeda42d