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
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/DevelopmentSettings.java
Settings: Long Term Orbits (LTO)

Ported from http://review.cyanogenmod.org/#/c/51422/3

Change-Id: Ia1fdf9e0ffa401f64ee9a5c130ed10709d930eb7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
settings: Enable location mode header switch

Change-Id: I347e769351bc15daa87d3b6d684afe4e80416ecc
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/Settings.java
Settings: update translations

Change-Id: Ic5d714a67bb2182b6453b6188e013388f1b733de
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_arrays.xml
en_GB translation (localisation)

Change-Id: I19741f48d890abfcc7e6f22a378d049530cf5900
Forward port "Display options: allow configuration of wake on plug behavior"

From http://review.cyanogenmod.org/#/c/47159/

Change-Id: If1d50cbad76763bb8e12b2e7a4f7c21f42a58f31
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/DisplaySettings.java
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

Signed-off-by: scott <scott@ubuntu>

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

Conflicts:
	res/xml/system_ui_settings.xml
	src/com/android/settings/cyanogenmod/ButtonSettings.java
port statusbar brightness slider from ROM control 1/2

Change-Id: I0b79741ec15087f1a2f71e1c6704c928fe162360
Signed-off-by: scott <scott@ubuntu>
remove old density changer and use new on-the-fly changer.
Thanks slim.

Change-Id: Ifa0daf3e142f1b631b048a5196102de13eb9b510
Signed-off-by: scott <scott@ubuntu>
update bs_lock icon from skyliner

Change-Id: Id01dc8b0fe587abab00efcb19acb1ad44b35e5a4
Signed-off-by: scott <scott@ubuntu>
QS: use vibrator check from DeviceUtils

Change-Id: I40677ce94884ef6e91e7680af703c36b0d2e14c7
remove power widget toggle bar option as it is borked.

Change-Id: I1dea93b42ed3f59c585acbf84699c80e66e1523f
Signed-off-by: scott <scott@ubuntu>
Squashed CM Bluetooth commits

Bluetooth: Fix to show internet access as marked when pan is connected

isPrefered is always true for PAN. So internet access menu checkbox
is always marked on. Marking internet access menu checkbox based on
pan connection status should solve this issue.

Change-Id: I4343cc6f1b46377caa54aa3d39c08489ff14adac
CRs-Fixed: 550731

Bluetooth: Set alias name only through Rename option

Set the alias name only when user is trying to change the
name using the Rename option of paired device.

CRs-Fixed: 539420
Change-Id: I415b6a962d8e7884b67d37b94c04df19e2c23012

Bluetooth: Not allow Blank BT device name.

Add empty string check for BT device name
and not enable ok button until entered
device name is not empty.

Change-Id: Ib7c460bee5c8d86d13acd66d228279dd1a240c25
CRs-fixed: 471158

Bluetooth: Remove remote device from trust list on BOND change

A special case where remote device is paired & authorized by
DUT. Remote device is unpaired by itself & try to connect again.
In this scenario Link key is deleted from remote device. So
SSP is performed again. & remote device bond state is changed
to BOND_BONDING from BOND_BONDED on DUT while SSP, As it was
in DUT BONDED list. So permission/trust info for all profile
need to be false when it's moved to BOND_BONDING to solve the
issue.

Change-Id: I37e8d92feef3c2d4d18c014a5d9092a9469335cb
CRs-Fixed: 578523

Bluetooth: GAP: Cancel the previous visibilty alarms if already set

Cancel the previous visibility alarms set for 2 mins/5 mins/
1 hour if visibility change happens from the limited discoverable
to unlimited discoverable.

Change-Id: I01797b771c271498372f15b545233a73baf60ca9
CRs-fixed: 582492

Bluetooth: GAP: Cancel the pairing notification on bond state change

Cancel the pairing notification on bond state change happens from
BOND_BONDING to BOND_NONE.  Otherwise it will present in the
notification area until it gets cancelled by opening it and press
cancel on pairing dialog.

Change-Id: I96f673e29e612cd748165a1323a5b4a4276a843c
CRs-Fixed: 569534

Bluetooth: GAP: don't update autoconnect on bonding state

This patch fixes regression caused by commit
I37e8d92feef3c2d4d18c014a5d9092a9469335cb where it was not possible
to autoconnect supported profiles of remote device from DUT after
pairing is completed.

Change-Id: Ied8e0dcfd1f6b9c98a89929f05257957c13a95fe
CRs-Fixed: 584889

Bluetooth: Destroy BT Dialog on BT power off.

Check for Bluetooth off Broadcast to destroy disconnect
dialog when Bluetooth is turned off from power widget.

Change-Id: Ie556a17c7d574f77da5181c08705648ebf5733cc
CRs-Fixed: 579028