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

(cherry picked from commit 48312b514a0c7895beab2f5405790a640bc54e79)

(cherry picked from commit 575988659824468a2281d0c25cd2eda808f1110e)
remove cmupdate and stats report

(cherry picked from commit 899f945c3583be966212ca762b53644b780cff95)
Settings: fix landscape layout on color picker

Change-Id: I9ecbb4154a28fb007fb54e9d737d0cd942105174

(cherry picked from commit 52904ab6f82f04cb15e04861458a4c67e662651a)
Settings: add quick pulldown listpreference

as well respect rtl layout changes

Change-Id: Idcfd16abbbf06d42d9cdd9e786e65ddbe52fe91f
(cherry picked from commit b1c93fa25603956f420c316bb2e010fa93b33e73)

Conflicts:
	res/values/pac_arrays.xml
	res/values/pac_strings.xml
	src/com/android/settings/cyanogenmod/StatusBarSettings.java
Settings: Do not allow to access quick settings on secure lockscreen - option (2/2)

We have a lot security guys as user due of using the phones as business phones...that
said a lot complains go into the direction of google how it is possible to have
access to quick settings on a secure lockscreen which is absolutely understandable
due that you are able to control Wifi BT AirplaneMode data etc.

This patch takes care on this problem and adds an option to control this behaviour.

ATTENTION: Due that this is really an UX derp for an average user this feature is
enabled by default now. User need to disable it explicit in settings to get on secure
locksreen the original android behaviour back.

PS2:
- fix derp

Change-Id: Iea5311cdeb793a605fffe87abab72f323e755dca
(cherry picked from commit f7ac169ebc9e51aa30a90252da045dbf9672f142)

Conflicts:
	res/values/pac_strings.xml
	src/com/android/settings/cyanogenmod/StatusBarSettings.java
Settings: Show clock enabled/disabled status summary in status bar settings

Change-Id: Iee63538fe695ec1df50841b157f67f3efa0b22df
(cherry picked from commit 8d3d2285fff95e7b7d24f0bf837b2bbec65523c6)

Conflicts:
	res/values/pac_strings.xml
Return: Smart Pulldown [2/2]

Change-Id: Iba759e421b8cbb02fadaa6540aae7b7a74764293
(cherry picked from commit ad8c47f2bf3baedfaeb9214a3bb2bab53d53190a)

Conflicts:
	res/values/pac_arrays.xml
	src/com/android/settings/cyanogenmod/StatusBarSettings.java
Move Buttons Settings to cmremix Settings
Wakelock Blocker [2/2]

Change-Id: Ib765e0478ed71fa11a51546c0359f7cd10539a58
(cherry picked from commit 5d65f7a25eb5d07e6584a03a9188bc58bb9f9a50)

Conflicts:
	res/values/cmr_strings.xml
Settings: Do not remove quicksettings features on tablets

Old code which were needed to do not conflict with split QS/Notification drawer
on kitkat

just remove the check for it.

Change-Id: I18cd9bf66e10d48f59c9d152129cbf3b1fc074dd
(cherry picked from commit efc13689b44cf92a1354ea02d6b51d303e288437)

Conflicts:
	src/com/android/settings/cyanogenmod/StatusBarSettings.java
Settings: StatusBar Ticker (2/2)

PS: MIspeeliings.

Change-Id: I5b01c2abe4d3a896274006535056051465abeb43
(cherry picked from commit 0ea6bf7d180ae24d33f0bf71824dc0b9c6426263)

Conflicts:
	res/values/cmr_strings.xml
	src/com/android/settings/cyanogenmod/StatusBarSettings.java
add dslv controller

a lot of our settings have drag swipe features
this is the central controller for it to have
easy access

Change-Id: I665b9128fc370b194fee9f35fa17879d4f685fd6
(cherry picked from commit 56b7fc9fa99512e87bb848262b97b9f71a08682f)
Settings: add central slim ActionListViewSettings class back...
as well shortcutpicker helper and several other stuff which is needed
for nearly every feature we have regarding navigation or shortcuts.

Imported from kk

changes:
- Renaming to be inline with fwb part
- code cleanup
- disabled code where features are not present till now

NOTE: This patch from graphics group is needed as well
      https://gerrit.slimroms.net/#/c/19987/2

Change-Id: I6671287c40f0711a2347c1457396487217278dad
(cherry picked from commit 5907cb206b22835404620f5611e78e2f9add0c64)

Conflicts:
	res/values/cmr_arrays.xml
Settings: add a default slim actions array

Change-Id: Ice789c2331fa60fe421f642884285a4a7ae6f0c3
(cherry picked from commit 22ea1f155b1c428a95890395363c669600abf0a3)

Conflicts:
	res/values/cmr_arrays.xml
Settings: add default slim actions for screen off gestures

Change-Id: I374ef8e5b9aef8d9381a97b3ebf8240fbf4cabef
(cherry picked from commit 25f89f403b7ec754a11135a43eb43653eae6222c)

Conflicts:
	res/values/cmr_arrays.xml
Settings: Materialize DSLV

Change-Id: I8efe75ee2b571136a7983b9a0b36090294650c80
(cherry picked from commit 084414271597553f169a9389c512ddeb84a99b71)
Settings: materialize grabber icon

Change-Id: I74908674c8d6b5e5f3fbca8e54778c8d9d9dd6b7

(cherry picked from commit 5b1320fab67aae1ad4cb093d002d2e56a44c7047)
Settings: add user configurable lockscreen shortcuts (2/2)

Change-Id: I6333792830f7357a9f4fcd5d42c479ec60a71915
(cherry picked from commit e76ab278d01621143a1c5624a072cf1ab8cb4088)

Conflicts:
	res/values/cmr_strings.xml
Settings: its not an icon anymore...its an option

we moved reset option on dslv into the menu. So the help text is a bit missleading.

Change-Id: Ic502f668432ac76ffda03a9221bd28dabbc889c2

(cherry picked from commit 2dc9f32467876e95b8a046d66a699c608d362eaf)
Settings: : Slim heads up customizations for LP (2/2)
Basically it follows the same idea like we had on SlimKat....see here
SlimRoms/frameworks_base@323ed77

That said there are some differences in this more or less completely recoded feature.

- Moved it into the app policy files
- Enable/Disable on every app (no system apps)  either longpress a notification and an button appears / or in notification app settings
- For now only snooze and heads up timeout configurable....other stuff will follow later.
- fix up some AOSP code for it as well fix some UX inconsitence.
- left swipe dismiss, right swipe put into background, swipe down opens notification drawer and moves the notification into it
  (aosp default behaviour is a big UX disaster....swipe up dismisses it completely and swipe down open notification drawer but heads up stays....first
   happened to me 10000 times accidentally which is really bad and second does not make sense. Hence this change of the default behaviour)

Well and a lot smaller things as usual.

Change-Id: I7830bc112b3b410b7d6bf696a764e1714778d09e
(cherry picked from commit 71b6d21d7f4e4dd5799da7a4eaef4ef0acfa6d2c)

Conflicts:
	res/values/cmr_arrays.xml
	res/values/cmr_strings.xml