Fix: SysUi crash on Pie recents

https://paranoidandroid.atlassian.net/browse/AOSPA-79

When toggling recent apps using pie controls on secondary user account,
system ui crashes.

Change-Id: Id43b79dadf4cc4a88534aa18e1138b1daa7eece8
Fix: Graphics error when switching to recents using Pie controls

Attempt to fix https://paranoidandroid.atlassian.net/browse/AOSPA-65

I've never been able to reproduce the problem on Hammerhead, Mako or
Grouper, so I can't guarantee that this solves it.

Feedback is needed from a user that constantly experiences this bug.

Change-Id: I950e94dbb9b9d07dedee9b9f8cab6c5b6bceb6b0
Fix: onBoot brightness

When device boots the brightness is always on highest level.

PS1: workaround it
PS2: apply to all devices
PS3: fix blur issue
PS5: sorry, update old file
PS6: remove whitespaces thx Carlo
PS7: revert change in Keyguard, add new fix
PS8: remove tab and whitespace thx Evan

Bug: https://paranoidandroid.atlassian.net/browse/AOSPA-56

Signed-off-by: Matthias Freund <matthias88freund@gmail.com>
Change-Id: I9535e2c22132539e0ad7e9d718b5d0732ba53571

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	services/java/com/android/server/power/DisplayPowerController.java