Revert HeadsUp

Revert "Settings: Remove unnecessary padding from HeadsUpSettings."

This reverts commit 069a89e5c61961ea620684d18f84d8698a5fbfd5.

Revert "Settings: Fix switch state being out of sync."

This reverts commit 8297f4a2d9a99beb2fc2b70e485b0c76627ccefc.

Revert "Settings: Add heads up quicksettings tile. (2/2)"

This reverts commit 6b70f46a08fd173f892b1fc3cd45f5688dfcfa80.

Revert "Fix heads up action bar switch handling for tablets."

This reverts commit ff36e9b1920ad275438be4dabe413f6e074d320a.

Revert "Hide heads up settings and show a notice if heads up is disabled."

This reverts commit 67d8318976c110015c1d1fa4cd63580f0091a086.

Change-Id: If108964d0e9e76f09dcd1e4cdc8ab1cf7b99c63f

Revert "Remove SystemSettingSwitchPreference."

This reverts commit 224b0a0cf1642d6ff118296d96afc448ba0b748f.

Revert "Settings: Add heads up blacklist options. (2/2)"

This reverts commit b084091cc72b46fa3033f41989ac11823beb01ec.

Change-Id: Ic463ac381eaa3888ebd432e8780c6feb7785fcd2

Revert "Heads up to head"

This reverts commit 8113f05baccba4d1538307a3387d23de1dfc2614.

Revert "Settings: Add HeadsUp setting."

This reverts commit 6950246886236fed358508007f013a6667568019.

Change-Id: If9d0b6e29334a65ce3fee898df35aaa7ef050835
Settings: Heads up meets SlimKat....SlimKat meets Google IO [4/4]

For detailed explanation see here: https://gerrit.slimroms.net/#/c/9937/

This patch adds the 4 possible user configurable settings.

1. Enable always expanded heads up notifications.
2. Set heads up snooze time
3. Set timout timer
4. Show updates of pending notifications

5. Add in app info screen a checkbox to enable heads up for the app.
   As another possibility aside the longpress on the notification on
   notification drawer.

Change-Id: I78ca4906287c803802a8a07645f1af2f72190728
Settings: Only show clear button when search field has text.

Change-Id: I69bf6a31a933459be2c652434aec412105395dcc
Cleanup.

Now that button and keyboard backlight don't use the HW framework
anymore, there's no point in having an abstraction for a single use case.

Change-Id: Ib66b2a29a105d53e3ba4273abb06977b132c1fc8
Launch Heads Up in floating window [2/2]

AICP'fied.
PS2: Add another setting for testing
PS3: Add missing string
PS4: Remove test preference

Change-Id: I2c84cef776e8b0c77525b2db61a03e9905135c47
Settings: Show heads up at the bottom of the screen (2/2)

Due of user requests and indeed especially on hw key devices for a better
workflow we add an option to show heads up notifications on the bottom instead
of the top.

Animation we leave as is due that if it slide from the bottom into the screen it happens
to often that the user accidentaly interacts with it. If it comes from the top of the
container we add, the user has enough time to realize it. Sometimes a ms can make a big difference.

Change-Id: Ieab601df1dc4fa5350fe4b9e4952198eb8e2d788
Heads up: option to disable in lockscreen (2/2)

Change-Id: Icbc6fba1727c009f7ea42a66ea3167f19d527e10
Rework the Spirit Controls Interface

Inspired from CarbonRom layout
Change-Id: Ia203a02aceafcb665c0f01bdb9a787c6c43f6108