LN: Some fixes & cleanup

- Fix bug that the notification is launched when a button on it is pressed
- Show new notifications first

Change-Id: I87db92a7ee4eb9329ec1ec69008e612a619d5c91

Conflicts:
	packages/Keyguard/src/com/android/keyguard/NotificationHostView.java
LN: Fix FC on launching hangouts notification

Change-Id: Idf411bd2b4995f0b53767e99597efd98ce0596b3
SystemUI: add missing status bar image

Change-Id: Icaf4d179b538818f5782637d403de212d0e0a841
Floating window: Fix possible NPE

Avoid possible NPE if app provides no interface such as pushbullet's
test notification & other apps which provide one.

Change-Id: I35c13959296a56e44f21f1aee0a736e7f786aa57

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
HeadsUp: Launch in floating window

Add some part of NotificationHelper
Credits to AOSPA team

Change-Id: I7001cebd69790b46b8dcfe9150c7ef104e5427a2

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationHelper.java
HeadsUp: User configurable timeout (1/2)

Change-Id: I263f8ea013f99488c2d1af97eff517db2b9d634b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HeadsUp: option to launch in floating window (1/2)

This commit also affects Hover

Change-Id: Ia8ffb4088f5b48b222a77ef486ba8b14e193c26f

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationHelper.java
SlimRecents: Rework show top most task feature

recently introduced this feature needed a bit rework. Basic changes

- do not call settings provider on every preload to prevent high IO work.
  Use our observer for that
- Use internal flag logic to mark topmost task
- Move interpretation of the expanded state into the card
- Due that topmost task is always collapsed do not show expanded icon at all
- Minor cleanup

PS:
- set mFirstTask to null if it is not used

Change-Id: Ifaabc035b6b9bd2d4527d5b34a1bca9c80a74e32

Conflicts:
	packages/SystemUI/src/com/android/systemui/slimrecent/RecentPanelView.java
Keyguard: update correctly track title and info if screen turns on

AOSP issue - Force update both if screen turns on.

Change-Id: I3d3198534c3ccdaa0ad2f40a967cc092a7dc0a0c
Keyguard: don't try to fetch the badgeIcon if remoteClientPackage == null

Logcat shows....if client is lost there is no need to force an exception due that remoteClientPackage
in this case is null.

Change-Id: I80e612610f93c9d70c854b2fcb8fbf0c0d8f9e2a
Do not launch floating window when on default launcher

We only do this when user is on the default launcher
because if the user was on a non-default launcher,
he/she must have been there for some purpose and we
do not want to throw him/her back to the default
launcher incase he/she exits the app with HOME button.

Change-Id: I969e3a4ca2f524b761a8c081770e43815b33721c

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationHelper.java