settings: refactor QuietHours code

PatchSet: use correct context

Change-Id: I9391e274250128af5f0e9dea4bdfde2485d9a746
fix last commit

Change-Id: I943f498c35ee91494048b2cc53c9bc63a6e77ec6
Signed-off-by: scott <scott@ubuntu>
Quiet Hours Ringer (3/3)

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

Conflicts:
	res/values/bs_strings.xml
Add WhisperPush category to security settings

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

Conflicts:
	src/com/android/settings/SettingsPreferenceFragment.java
Revert "Add WhisperPush category to security settings"

This reverts commit 4f0351b91e1e863f8666aff95a1e01cfc53c7cea.
Add System menu and PowerWidget configuration support from mr0/10.0

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

Conflicts:
	res/values/arrays.xml
	res/values/config.xml
	res/values/dimens.xml
	res/values/strings.xml
	res/xml/settings_headers.xml
Settings: Default the old CM Power widget to OFF

THe Power widget functionality will be replaced by the new QuickSettings
functionality of Android 4.2.  Turn the old CM widget off by default.

Change-Id: I9144130898aff1fb9f882aaf68a3b0873742f3d6
PowerWidgetUtil: Re-enable LTE button.

- Also use Settings.Global.getInt() for PREFERRED_NETWORK_MODE.

Change-Id: I677de6353bf451fe4390ff74f9703b5df3beb39d
dont disable flashlight

Change-Id: Ida5041fc1f9bdeaa14ac3188cf06f3e4ec556c18
Signed-off-by: scott <scott@ubuntu>
Port "Power widget: Hide Wi-Fi AP option if it's not supported"

Change-Id: Id3a2748f2b60ecc8dac5fd656e4dfed8af2c056b
Port reboot button in power widgets 2/2
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

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

Conflicts:
	res/values/strings.xml
add fcharge power widget

Change-Id: I3e7c58b3bb81975577e257958fb75b9f7d83e618
Signed-off-by: scott <scott@ubuntu>
toggle colors

Change-Id: I111bc216ed3ba243f2188a81228f55e8c2f64624
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/strings.xml

Conflicts:
	res/xml/power_widget_settings.xml
	src/com/android/settings/cyanogenmod/PowerWidget.java

Conflicts:
	res/values/strings.xml
	res/xml/power_widget_settings.xml
more work to toggles

Change-Id: Ia231f23d833f1ee81dac3bb42538e221a42499ae
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/strings.xml
	res/xml/power_widget_settings.xml

Conflicts:
	res/xml/power_widget_settings.xml
	src/com/android/settings/cyanogenmod/PowerWidget.java

Conflicts:
	res/values/strings.xml
	res/xml/power_widget_settings.xml
Update colorpicker and layout for powerwidget toggle options.
It was waaay out of date and i waited way to long to do this.

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

Conflicts:
	src/com/android/settings/cyanogenmod/PowerWidget.java
[1/2] OmniGears: Configure headset hook

Whether or not to allo headset hook to launch voice commands

Useful with headset control programs

PS3: Whitespace
PS4: Rebase
PS5: android:persistant

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

Conflicts:
	res/values/custom_strings.xml
	src/org/omnirom/omnigears/ButtonSettings.java
Merge tag 'android-4.4.2_r1' into HEAD

Android 4.4.2 Release 1
settings: allow to disable quicksettings

on 4.3 we had an extra settings option for it. Due that we want
to reduce the settings to improve the UX and due that
we are doing it this way on all dslv settings we change
the old 4.3 way.

Now it is very easy like dslv.....remove all tiles and QS
is completly disabled and cannot be opend any more. Notification
drawer shows the settings icon on the top right in this case.
As well compared to 4.3 this works on phones and tablets

Code cleanup and follow AOSP code style guidelines.

Some minor dialog tweeks (help dialog etc)

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

Conflicts:
	res/xml/notification_drawer_qs_settings.xml
	src/com/android/settings/beanstalk/NotificationDrawerQsSettings.java
settings: google please cleanup your translations....Settings cleanup

it is really at the moment a nightmare to see compile errors when
getting 100000 of warnings. Whatever we removed already on some
packages the warnings....but still a lot are there

Change-Id: Icd6c667a1e055e1ab41420bef575d250ac829219
minor string correction

Change-Id: I8a2c5313bbbcbc363c8cc7d1d288d6efa32df9af