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

Switch to SwitchPreference

Change-Id: I402b0e3cda4f8e2c49787a1455acabcfd4220ac5
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: AppOps - move all arrays and strings into slim files

2 reasons

 - this way we can translate it easier with crowdin
 - and which is more important right now it breaks on other languages due that the aosp arrays
   are not addapted to our new permissions.

So moving all to our own files gives us the freedom and flexibility we need and want

Change-Id: If0e7aada60501c5edf5e6a54ef68a1a761a113a8

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
Settings: Add per app controls for LP keyguard notifications (2/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options

Change-Id: Ie4966f9048718c080571935796258625413f7344

Conflicts:
	res/values/slim_strings.xml
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