Fix navbar not showing when swiping down in expanded desktop with pie disable

Change-Id: Ia5f487ef26aeb1c67cf5f5e672332cc1c6fb1e6b
Themes: uninstallThemeForAllApps shouldn't check if map is empty if it's null

Potential NPE introduced in ec2200878706735cdd2caf4d934d988296998e85

Change-Id: I6d1ec165957c2be63086a18af2236e46978e9c8a
framework: Add compass tile (1/2)

Add a compass tile to quick settings.
Clicking on it enables the sensor and clicking again disables it.

Screenshot: http://goo.gl/2frdpy

Change-Id: Icd9d12929f0491f6958f30de139ef39bb4c2e037

Conflicts:
	core/java/com/android/internal/util/cm/QSConstants.java
	packages/SystemUI/res/drawable-hdpi/ic_qs_compass_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_compass_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_compass_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_compass_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_compass_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_compass_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_compass_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_compass_on.png
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/CompassTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Don't cleanup overlay mapping for non-theme apps

mOverlay structure should keep all app/theme mappings even
if the app does not exist. Otherwise we will have to insert back the mapping
for every app that is installed which would be time consuming.

Without this patch an upgrade app loses its applied theme
until the device is rebooted.

Change-Id: Id02b8e0a3bdd78d1a9d39cd38294c584ef95f8db
Frameworks: add null check in usertile

Change-Id: Ief36d3dad2fff52a6fc58833ea32dc2f4dcc7320

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java
Framework: Pulse Torch On Incoming Call (4/4)

Move our SliderPreference to framework for
	global usage

Add some torch constants

Add Settings entries

Change-Id: I3bf8e3d140ef507e2a72e3abbdad6ec1603dfbc3

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/slim_strings.xml
change to a different id. do not want duplicates

Change-Id: I0e46395b86c56f4b71c9d64aefdaf4346f57908d