Insta LED test (2/2)
Settings: Add HeadsUp setting.

Change-Id: Ib7a59145843bedb16aacc87bf6d3c6da143e8d3e

Conflicts:
	res/values/cm_strings.xml
	res/xml/notification_drawer.xml

Conflicts:
	res/values/mahdi_strings.xml
	res/xml/notification_drawer_settings.xml
Move Hover and Heads up into one screen
Settings: Add heads up blacklist options. (2/2)

Change-Id: I13d849b49bee6f516b591625c2ea2e69dff12885

Conflicts:
	AndroidManifest.xml
	res/values/mahdi_strings.xml
Remove SystemSettingSwitchPreference.

We should not introduce one-off UI patterns when there are plenty of
examples where the same usage pattern (a feature on its own
PreferenceScreen with a global enable switch in the action bar) is
handled differently everywhere else (e.g. daydream, cast display,
blacklist). This makes for inconsistent UX.
Also, there are discoverability issues: As there's no other case of a
preference with an embedded control widget opening another preference
screen, users won't expect to find another screen behind it.
Additionally - but entirely subjective - the control looks plain ugly,
as the preference padding is too large for the large switch.

Change-Id: I61284e961babefa3748102b05055fb1d03b079b0

Conflicts:
	res/values/mahdi_strings.xml
	res/xml/notification_settings.xml
	src/com/android/settings/purity/NotificationSettings.java
	src/com/android/settings/purity/SystemSettingSwitchPreference.java
Deduplicate adapter-of-installed-packages code.

Change-Id: I454ba79eddaaff86233a2cc341f4c8bebe94729e

Conflicts:
	src/com/android/settings/mahdi/notificationlight/NotificationLightSettings.java

Conflicts:
	src/com/android/settings/notificationlight/NotificationLightSettings.java
	src/com/android/settings/profiles/AppGroupConfig.java
Hide heads up settings and show a notice if heads up is disabled.

This follows a UI pattern used at several other places, such as
daydream, screencast, profiles or blacklist settings.

Change-Id: I5635338ceccae8ba8450284d3078889333fb77c6

Conflicts:
	res/values/mahdi_strings.xml
Slim Recents: Option to show topmost task [2/2]

Change-Id: I46cd6d1141ffb6893c94b10a7f0d9d9f94b92ec1

Conflicts:
	res/values/mahdi_strings.xml
	res/xml/recents_panel_settings.xml
Hover: exclude from insecure lockscreen (2/2)

Enable/disable hover notifications from insecure lockscreen

Change-Id: I011cfe31adae06e7ec43e08d9d8286cd9b554540

Conflicts:
	res/values/mahdi_strings.xml
	src/com/android/settings/purity/NotificationSettings.java
Add some system packages to package list adapter.

As we're using the adapter for notification control stuff, we need to
include those packages, too, as they're throwing notifications as well.

Also optimize code a little.

Change-Id: I8829041a535923e3d93d9566e27eb99c48f25abd
Launch SuperSU from Settings

If SuperSU is installed, show an entry in Settings below
"Developer options", which launches SuperSU when tapped.
At boot time SuperSU will detect if com.android.settings
contains the resources from this patch, and if so it
will hide itself from the launcher. This was implemented
in v1.85, so we only show the entry if the installed
SuperSU version is at least that.

Change-Id: I1796d92458587b9e961d5d8e6d58099e8367834d

Conflicts:
	res/values/mahdi_strings.xml
	res/xml/settings_headers.xml
Hide SuperUser if SupenSU is installed

Change-Id: I9765d7b1e3a877651e70a9a32f002a288d79c1ce
Make manage applications bar themable
Slim recents scale: update summary with chosen value

Conflicts:
	res/values/mahdi_strings.xml
Fix build
Slim recents size: adjust strings
fix applications screen theming
Display Settings: Better font size control

Use a SeekBar instead of a list/spinner to determine the font scaling.
For consistency, an approximate size (small, normal, etc.)
 and the exact percentage are displayed.
Show a preview of the selected font size immediately

Ported from CM 10.2, squashed commits 46678 and 49167.
Credit to Veeti Paaananen for the latter commit.

Change-Id: I754d7fdcaf27c23dfccf9d56291956e70b23f63e

Conflicts:
	res/values/mahdi_attrs.xml
	res/values/mahdi_strings.xml
	src/com/android/settings/DisplaySettings.java