Fix NPE causing a hot reboot when pressing power button

Change-Id: I7331f1abf70d131af8e0c09694f174fffd5fb9ef
FW: LS Notifications Rewrite add notification logic & fix pokect mode

Original commit message:

 There were some problems with notifications getting replaced while the user was currently dragging them.
 This commit should fix that by always waiting until animations and user input are finished before replacing a notification view.

and I added some missing line for pocket mode fixes

PS 2&3: Update Author & message

Change-Id: I73e3337e953c1fb8f17597efae8782a4d2878c40
FW: LS Notification: Fix FC party when Lockscreen Notifications are disabled

PS2: Update Author

Change-Id: I6ec6fbef2f76591f7d6b710c8c14dbb04dd6e458
FW: LS Notification: fix FC when an expanded notification gets reposted without bigContentView

Change-Id: I08503d78001dbc6534db84bad2313d5d896f8b63
FW: LS Notifications: Custom Background color [1/2]

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

Conflicts:
	core/java/android/provider/Settings.java
Fix for positioning of glyphs within a bitmap

For positioning of glyphs within a bitmap, roundf(int + float) is used,
where the float is the glyph position and the int is the text position.
When the text position is varied, this may lead to the sum being rounded
in different directions, due to floating point rounding, caused by that
floating point numbers have different precision in different ranges.

This may therefore lead to slightly different positioning for glyphs and
therefore slightly different widths and heights for text strings,
depending on the position they are rendered at.

The solution in this patch is to use int + (int) roundf(float), which
has consistent rounding, and also enables us to use the full range of
ints.

Change-Id: Id1143cdfcbdfa9915ced878ae04df589a3e03cee
replace slim specific pie icons and use these generic ones for now

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