Lockscreen Notifications: several fixes

- fix notification not responding when removed and added in a short period of time (e.g. gravity screen start/stop)
- just unlock screen on notification click when there's an activity to start
- fix notification hide animation
- just wake screen on reposted notifications when it's not ongoing (wake on notification before made the device stay awake for ever when a download/countdown or something similiar was running)

Change-Id: I094b7136f5eef248b53621a619f6919beb12157b
Lockscreen Notifications: just scroll down in "showAllNotifications"
Lockscreen Notifications: Copyright
[1/2 ]Lockscreen Notifications: make offset top user configurable & add privacy mode

Change-Id: Ic5fb8f0f7d714ae0c0c439d62cae713205f09c82
Lockscreen Notifications: Fix possible NPE

Change-Id: Ib2cc0e9f4e133e6b19f7654cb286322b4741984a
Lockscreen Notifications: make width dynamic (WRAP_CONTENT)

Change-Id: Ie53bd3959a35ae03596978ceb05728d6b63842a0
Lockscreen Notifications: Lower alpha

Change-Id: I9d005bbab0614a539c1c302ee4bbde30ad3dd658
Lockscreen Notifications: make animations a bit faster

Conflicts:
	packages/Keyguard/src/com/android/keyguard/NotificationHostView.java

Change-Id: I8faa0cd525fb1e303c6eec9c67b6b4bd3cc8fd2f
Lockscreen Notifications: Respect Quiet Hours

Change-Id: I9e80dee51b1db7654da3ee639aca9a881aca644f
Lockscreen Notifications: Use QuietHoursHelper

Change-Id: I4ff8b7b66e49eafe5fa7d184ff1343345e37603e
Lockscreen Notifications: fix notifications disappearing on orientation change
Lockscreen Notifications: disable dynamic width for devices <= xhdpi
[1/2] Base: Lockscreen notifications: Option to disable dynamic width

Change-Id: I1e52e2fe9d3f989db2d8e3f6cba75cf95fddcd4e
Lockscreen notifications: Show all notifications when waking device on incoming notifications

Change-Id: I6e03673a197ba172caf6d00118897038c37a9790
[1/2] Base: Lockscreen notifications: Allow apps to be excluded from being displayed

Credits to 0xD34D / ChameleonOS for the original implementation for Active Display

Change-Id: Ie0df1faedb275b1cf131d75d69d9d9cafc828dd9
Fix ongoing notifications reappearing when hidden

& some small animation tweaks again.

Change-Id: I1420424bca89a62ba824a13856e21c45c6bbe1f8
fix conflicts

Change-Id: Iea9dcac45fc642d4dcbae71957e904933fa6d3a7
[1/3] Base: QuietHours (slimRoms)

add support quietHours

Squash Commit from:

 fb: Quit hours 1/2 thanks cm

and added multiuser support

Change-Id: I38e8560297099629aed94ee001da7f1ebaa04dac

by Kufikugel

 Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c

by Jubakuba

 fb: refactor QuietHours code

thanks to ivisiblk for the idea

Change-Id: I56e2b4a1945a4b93251b9937b701c86168b732b4

by Kufikugel

 Quiet Hours Ringer (2/3)

Change-Id: Id58ffb24f0d0d57d8446265c899ec4124fe00c70

by Jubakuba

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: Icce9e3a804ab8be753b8a23a28668ef1358540b1

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/BatteryService.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java