HOVER: Match notification width on tablets too

Change-Id: I9c6a2371380b1f78965ddd73beb8e643aeb1e554
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
HOVER: Ensure to clear after reparenting all notifications

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
HOVER: Fix notification content not being updated
Slim recent: fix misbehavior when launch floating window

Change-Id: If58372201de8574df124e292becee02e0fe5d893
Slim recent: add support for blacklist interface

- Totally base on @BigBrother1984 work. Big thanks to him!

Change-Id: I1259f0ea7c6157b0574dd065a86137ffb68479de
Activity chooser "Always" button is not working

When ResolverActivity is created with a custom list of matching
applications (rList) as in NFC case, and the alwaysUseOption is
set to true, the prferredActivity is not saved even if the user
presses the "always" button.

When a list is provided the variable mBaseResolveList will be
!= null. This will set mOrigResolveList = null.

When an activity is choosen and one of the buttons are pressed
onIntentSelected is called. The first thing this method does
is to check mAdapter.mOrigResolveList != null, however in this
case mOrigResolveList is always null, and the value is not
saved as PreferredActivity.

This problem was introduced in
6d8dfbd8149942f25f2b9643a12f1fb38f3be834.

Change-Id: I9eac41b7861b5e68ad3978af0dc0285f2a34eb88
Disable pocket mode here
HeadsUp: Launch in floating window

Add some part of NotificationHelper
Credits to AOSPA team

Taken from:
https://github.com/lion0738/android_frameworks_base/commit/9e4b4b3bf10ccaee3ff64bb7b74f929210b85d69

Change-Id: I7001cebd69790b46b8dcfe9150c7ef104e5427a2
HeadsUp: User configurable timeout [1/2]

Change-Id: I263f8ea013f99488c2d1af97eff517db2b9d634b
HeadsUp: option to launch in floating window [1/2]

This commit also affects Hover

Change-Id: Ia8ffb4088f5b48b222a77ef486ba8b14e193c26f
Completely integrate HFM into Settings [1/3]

* Checks if hosts file is correct after completing boot (useful after updating ROM)
* One less package

Change-Id: I103ed99a911cbeb503bb090087a3fee274784b6e
Fix Derps

Change-Id: I55f470b3ea051cff7b33f29726c6708569c2c50a
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
HOVER: Rework showing behavior on tablets

- Don't animate out statusbar on tablets
- Cleanup

Change-Id: I4cbc283f32d11422ef0a733eab26a73277cd5812
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>