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
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/slim_strings.xml
Settings: StatusBar Ticker (2/2)

Change-Id: Idb51639b3497d2761f5dc434da334f33a8379c33
Signed-off-by: scott <scott@ubuntu>
Settings: : Slim heads up customizations for LP (2/2)

Basically it follows the same idea like we had on SlimKat....see here
https://github.com/SlimRoms/frameworks_base/commit/323ed77c5e5bd6d421beae1f8118eb580be5ecf1

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: I96c3259ad705b1776c58d2119410cd97d5f6d928
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	src/com/android/settings/notification/AppNotificationSettings.java
Settings: add headsup manifest permission

Change-Id: I26f1a086c73030183488b563a31b60f43e028f69
Settings: Wi-Fi WPS Materialized icon

Both aosp and factory images the icon is not visible

Let's make it visible and materialized.

Patchset: redraw vector and add xxxhdpi versions

Change-Id: I00580cfb719dd955f243b24afd186ee2c8f9cad0
Settings: : add ability to change the color in battery saver mode (1/2)

User complain about the ugly orange....give the user the ability to change the
color in status and navigation bar if battery saver mode is activated.

Especially for you Tylog :D

Change-Id: I37bc2865e6af4ea84cb4b9d254f5e8b1580083a9
Settings: fix landscape layout on color picker

Change-Id: I9ecbb4154a28fb007fb54e9d737d0cd942105174
Settings: disable report button for system apps

This opens CMBugReport, and we don't want these reports. Disable the
button for better UX than the button doing nothing when clicking it.

Change-Id: I2563379e7ce49a246761c040edcb797cf112efce
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Add stats collection preference to privacy.

Change-Id: I5007d4db5074bf13fc3410eb2a3f4cd2772f9263
Protected Apps: Show state by component instead of by app

Change-Id: Idbe1d69b376fc3f42980404d9448152f606e7f8e
(cherry picked from commit 56e11c8640cb9e34d07eb11fb1b67f3283b2f6f6)
Protected Apps: Increase hit target of the launch app button

Change-Id: I38355aca37079d43975d287ee9d81c3a500c3575
(cherry picked from commit 47e8e46f53cdf4f536845d57cc383d3c5f0ca893)
Buttons: Forward port Recents button configuration

Enables the ability to assign different actions to short and long
presses on the Recents (App Switch) button.

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

Conflicts:
	res/values/cm_strings.xml
	res/xml/button_settings.xml
	src/com/android/settings/ButtonSettings.java
Feature : Volume adjust sound preference 2/2

This patch allows the users to choose if they want the audible tone when adjusting the volume

Change-Id: I6d43cba83bf4cf10f2d50502e7cee5408a73c520
Forward port battery icon option [2/2]

Bring forward the various battery icon options.

Still retains new options for where to show battery percentage text.

Change-Id: I75b3d9f4ba4b4206d2be5f2cd24ceceeae3234fc
Revert "Set weather logic to false by default"

This reverts commit b4a0577b13a9731b5c5c5a70e98185110ed9e73f.