option to use floating window for quick settings 2/2

Change-Id: I74a57b9c8312643791d5ed25afc174d4db8a4965
Signed-off-by: scott <scott@ubuntu>
add never sleep screen mode 2/2

Change-Id: I2c566615aaa522e7ee18d57517162de0b919fdfc
Signed-off-by: scott <scott@ubuntu>
notification drawer brightness slider 2/2
Signed-off-by: scott <scott@ubuntu.com>

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

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/cyanogenmod/PowerWidget.java
Configurable LTE icon into 4G instead

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

Conflicts:
	res/values/strings.xml

Change-Id: I456f8d38acf3273a7ca70aa07d7c3155dcd1af53

Conflicts:
	res/values/strings.xml
	src/com/android/settings/SettingsPreferenceFragment.java
	src/com/android/settings/WirelessSettings.java
couple pick fixes

Change-Id: I6fb08375c10afc9155b8a7acc6fc3495b94977b9
Signed-off-by: scott <scott@ubuntu>
Revert "option to use floating window for quick settings 2/2"

This reverts commit c40599a99b0834f99eb0c8bbf82e2336632804b3.

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

Conflicts:
	res/values/bs_strings.xml

Change-Id: I94d5de8ac82aa0b0d25539da39132bd38bbb2b8b
Storage Settings: Allow user to trigger a volume rescan

This change allows to trigger a rescan of a volume with the next restrictions:
- Internal volumes if they are emulates
- Primary volumes
- Non-Removable volumes

Ported from: http://review.cyanogenmod.org/44586

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

Conflicts:
	res/values/cm_strings.xml
Squashed commit to restore gesture navigation

Change-Id: Icf783dd8aa36d278e3184658034e5c074915b6b6
Signed-off-by: scott <scott@ubuntu>
Settings: Fix Activity Names

When entering an activity directly
	(via quicksettings, for example)
	the activity name is pulled from
	the manifest rather than the
	preference title. Small fix needed.

rebase

Change-Id: Ic0eb1cb2b0af6ff7dc7eac0a17c015a2386770c8
Settings: Fix Tile Index

If user deletes all tiles:
	Array string would dump an empty
	value for index zero.  Thus,
	changing individual tile settings
	would be off by one. Create a new
	array in this case as a fix.

rebase

Change-Id: I49b5940fc4e341313bde9087059babc5472417ad
cleanup strings and add never options for display timeout

Change-Id: If4466dc4f26c94e46e9c578c8995622a940ab390
Signed-off-by: scott <scott@ubuntu>
Settings: fix led pulsespeedoff disable behaviour

Keep led pulsespeedoff disabled if pulsespeedon is
disabled.  This ensures that pulsespeedoff stays
disabled if onOffChangeable was set to false.  Fixes
problem where charged led pulsespeed off looks to
be configurable in the ui and thereby creating user
confusion.

Change-Id: I6ac7f630544bf719b39e1ddcab435322975430c8
Settings: Use solid actionbar

When the action bar is visible, use the solid holo dark theme used
 by the rest of the Settings app

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

Conflicts:
	AndroidManifest.xml
Revert "settings: Enable location mode header switch"

This reverts commit b3a734269373290000461329c2c6d290795d43ce.
Settings: recover last location state during on/off switch

based on the behaviour change on QS here:

https://gerrit.slimroms.net/#/c/1421

we go now same way in settings. Tbh not sure what the goal is to
force the user after switching off to enable always high accuracy
location. Whatever we use here same attempt like in QS tile....if the
user switches on again it recovers the last enabled state.

Change-Id: I887e2a94af379770dac7dbedb5d3d8002a554163
Settings: Add LongClick SwitchButton (2/2)

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

Conflicts:
	src/com/android/settings/Settings.java
Add beanstalk OTA to system update check

Change-Id: I896cf0c57fb41d093e8b1243a67ed21282cf1edb
Signed-off-by: scott <scott@ubuntu>
remove expanded from gestures for now

Change-Id: Ibee56a54a93e86ce3248795968bd780bc7c6f752
Signed-off-by: scott <scott@ubuntu>
Nyan nyan nyan nyan

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

Conflicts:
	AndroidManifest.xml
	src/com/android/settings/DeviceInfoSettings.java

Change-Id: I9c617e0b155232392134f62ffaaf45f5c2690cea
Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

 Card present and mounted -> Erase enabled
 Card present but unmounted -> Erase enabled
 No card present -> Erase disabled
 Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9