Only show ART information if switching from dalvik to ART

We do not want to confuse users with a big information dialog, if
they change from ART to dalvik as dalvik is still the official
solution, supported and considered safe.

Change-Id: I0ce4846e0bb751e87e5c410e668d4bc521380141
Merge "Only show ART information if switching from dalvik to ART" into cm-11.0
Add CM Legal (2 of 2)

New settings activity for CM Legal info. Needs vendor/cm piece.

PS2: Manual Rebase

Change-Id: I6238afe23f957a571d29c186447b455ecb7a186e
Settings : Add hooks for device specific features

Add support for :

Devices with bluetooth input peripherals
Devices with screen gesture support
Devices with a back touchpad

Conflicts:
	res/xml/language_settings.xml
	src/com/android/settings/cyanogenmod/ButtonSettings.java
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java

Change-Id: Ia4835c69a8ba8fb76597e0ab0540f8ef1ed6e322
Settings: Add missing up navigation in menus

Squashed forward port from cm-10.2

Change-Id: Ia9d51b53df8a3eb4c1b9dee1aeefb0b74eac0fde
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0
Pass unhandled onPreferenceTreeClick to super

Change-Id: Id5a0e8526cab58d66455c661a7a84c9cb793797a
Merge "Settings : Add hooks for device specific features" into cm-11.0
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0
Add option for switching between UMS and MTP/PTP mode. (2/2)

This adds support for switching between UMS and MTP/PTP.
Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS,
and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS.

Forward port from cm-10.2, adjusted for 4.4

Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613
Merge "Settings: Add missing up navigation in menus" into cm-11.0
Merge "Add option for switching between UMS and MTP/PTP mode. (2/2)" into cm-11.0
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0

Conflicts:
	res/values/cm_strings.xml

Change-Id: I6430f4d71b08122c799913d08774cd3fbbb82c70
Merge branch 'sgt7/cm-11.0'