Settings: use SwitchPreference instead of CheckBoxPreference

be consistent....lp is using now SwitchPreferences

Change-Id: I794b699e9bc7819efc02886064121e0992c7214a
Settings: Do not rely on isRotationLockToggleVisible

on special situations it happens that the entry gets removed due that isRotationLockToggleVisible returns false.

Fix it with checking if we have general rotation support (isRotationSupported(Activity))

Change-Id: I05913352dfea764a7242d1c6d49cdee1779f4880
Settings: Accessibility - We want consistence...change from CheckBoxPreference to SwitchPreference

Google changed it on all main settings. It does not make sense that on system settings
the old CheckBoxes are still used.

This commit changes all CheckBoxes in accessibility settings to Switches

Same needs to be done for Date and Time and Developer Settings

Change-Id: I335285270bcb8fa5e6e86f32a099f901e6d44d29
    Settings: Date and Time - We want consistence...change from CheckBoxPreference to SwitchPreference

    Google changed it on all main settings. It does not make sense that on system settings
    the old CheckBoxes are still used.

    This commit changes all CheckBoxes in Date and Time settings to Switches

    Same needs to be done for Developer Settings

    Change-Id: I5c1f34b813ede998e4fb9dab2a1184a6db51bf79

Change-Id: I1eecfa0e10054e3acf1d4afd58a31f2f35ab476f
Settings: Add ability to control default value of DOZE_ENABLED

Devices can enable the doze feature. Devices without AMODLED screens can use it
but it will use then of course more battery. This devices should disable this f$
by default and let the user decide to turn it on.

to change the default behaviour add into device overlay

config_doze_enabled_by_default and set it to false

Change-Id: Id567cc08b16bdbdbf28f39045f95b2e6c8f06e7b
Settings: Developer Settings - We want consistence...change from CheckBox…

Switch to SwitchPreference

Change-Id: I402b0e3cda4f8e2c49787a1455acabcfd4220ac5

Conflicts:
	res/xml/development_prefs.xml
	src/com/android/settings/DevelopmentSettings.java
Forward Port: Hide USB Debugging Icon [2/2]

Change-Id: I30efbc5bb19c88f0863fa8ea9e11cf0a547ac109

Conflicts:
	res/values/slim_strings.xml
Settings: Fix wifi developer options summaries

Change-Id: I85688d59685d3a0b0a48e51581eee77ebc7cd2fa
Fix ADB Notify Reset on USB Debugging Toggle

Change-Id: Iea299577463cf3b40d245bd50a18a1dcb2a7cbf9
Settings: ADB_NOTIFY moved to Global

Change-Id: I6fc6d8ab8c7a4dd7c5f441b9dfa9166822051e82