Lockscreen Notifications [2/2]

My try on making notifications easily accessable from lockscreen.
Credits to ChameleonOS, I got the notification listener permission and some small other stuff from their ActiveDisplay implementation.

Lockscreen Notifications allow you to manage all your notifications directly on the lockscreen.

Features:
- Pocket mode turn screen on when phone is pulled out of pocket and turn it off when phone gets back in pocket
- Hide low priority notifications
- Hide non-clearable notifications
- Allow dismissing even non-clearable notifications from lockscreen
- Just turn screen on when there's currently a notification pending
- Toggle between expanded and normal notification view by longpressing
- Wake on new notification
- Configure notification count displayed at once
- Privacy Mode: Hide notifications content on secure lockscreen.
- Blacklist apps - thanks to ChameleonOS for the original implementation and @Der-Schubi for bringing it to lockscreen notifications
- Show all/dismiss all button, does not dismiss on going notifications, they must be swiped away

Conflicts: EDIT 18 Oct 2014: no more conflicts with the latest patcheset

Draft: Oct 21 2014: Update for Settings reorganization Not tested Draft 2: Fix some merge derps

Conflicts:
	res/values/slim_strings.xml
	res/xml/security_settings_chooser.xml
	res/xml/security_settings_lockscreen.xml
	res/xml/security_settings_password.xml
	res/xml/security_settings_pattern.xml
	res/xml/security_settings_pin.xml
	src/com/android/settings/SecuritySettings.java

Change-Id: Iea8d2c70feba1fbd44f04fbf2b1d6aa748620be4

Conflicts:
	res/values/slim_strings.xml

	nouveau fichier : res/layout/ad_excluded_app_item.xml
	modifié :         res/values-fr/slim_strings.xml
	modifié :         res/values-it/slim_strings.xml
	modifié :         res/values/slim_arrays.xml
	modifié :         res/values/slim_strings.xml
	modifié :         res/xml/security_settings_chooser.xml
	modifié :         res/xml/security_settings_lockscreen.xml
	modifié :         res/xml/security_settings_password.xml
	modifié :         res/xml/security_settings_pattern.xml
	modifié :         res/xml/security_settings_pin.xml
	modifié :         src/com/android/settings/Lockscreen.java
	modifié :         src/com/android/settings/SecuritySettings.java
	nouveau fichier : src/com/android/settings/slim/AppMultiSelectListPreference.java
	modifié :         src/com/android/settings/Lockscreen.java

Change-Id: I75f09e8ba6e34ed5be57e93a0f72e1ff7b3ec112
Revert "Lockscreen Notifications [2/2]"

This reverts commit a7e7fc715be9cc7797f743309155892314b7e051.

Conflicts:
	src/com/android/settings/Lockscreen.java

	supprimé :        res/layout/ad_excluded_app_item.xml
	modifié :         res/values-fr/slim_strings.xml
	modifié :         res/values-it/slim_strings.xml
	modifié :         res/values/slim_arrays.xml
	modifié :         res/values/slim_strings.xml
	modifié :         res/xml/security_settings_chooser.xml
	modifié :         res/xml/security_settings_lockscreen.xml
	modifié :         res/xml/security_settings_password.xml
	modifié :         res/xml/security_settings_pattern.xml
	modifié :         res/xml/security_settings_pin.xml
	modifié :         src/com/android/settings/Lockscreen.java
	modifié :         src/com/android/settings/SecuritySettings.java
	supprimé :        src/com/android/settings/slim/AppMultiSelectListPreference.java

Change-Id: I6998830b01a3cb76176de7f51bd71eb499578464
Revert "	modifié :         src/com/android/settings/Lockscreen.java"

This reverts commit 28d2b7abbd0955eed322f2cd8c544e3c765b1cd0.

	modifié :         src/com/android/settings/Lockscreen.java