add Cyanogenmod Profiles (1/2)

Conflicts:

	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/LockPatternUtils.java
	core/res/res/values/mahdi_strings.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSecurityModel.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewMediator.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/mahdi_strings.xml
	core/res/res/values/mahdi_symbols.xml
	media/java/android/media/AudioManager.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	services/java/com/android/server/NotificationManagerService.java

Change-Id: I68bcabfd7e6e00e3643226098ed936d661001366

Conflicts:

	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values-es/slim_strings.xml
	core/res/res/values/slim_symbols.xml
Factor out profile trigger code into separate class.

Makes it easier to extend the trigger mechanism later on.

Change-Id: Ied318e7efa7e1755022deecb8172f862943ca6ac
Profile: disable triggers when profiles are disabled

Change-Id: Ic25bd90deb1979f2a7f21a5b588e5f1e18834864

Conflicts:
	services/java/com/android/server/ProfileTriggerHelper.java
Add profileTile (1/2)

Change-Id: I27482d5ca0545cb0203a15c404a2c4b32a3ff47e

Conflicts:
	core/java/com/android/internal/util/slim/QSConstants.java
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
base: Add theme support to Ringtone and Profile pickers activities

Patchset 3: Add support for theme RingtonePreference view. The dialog is
            automatically adjusted to the caller activity base theme.
Patchset 4: Don't break the android api

For Ringtones:

http://review.cyanogenmod.org/#/c/61393/

For Profiles:

Usage:

Intent intent = new Intent(ProfileManager.ACTION_PROFILE_PICKER);
intent.putExtra(ProfileManager.EXTRA_PROFILE_DIALOG_THEME, R.style.CustomDialogTheme); <<< Add your custom dialog theme here
startActivityForResult(intent, 0);

Style Usage:

Define an style that inherits from an android base theme

<style name="CustomDialogThemeDark" parent="@*android:style/Theme.Holo.Dialog.Alert">

or

<style name="CustomDialogThemeLight" parent="@*android:style/Theme.Holo.Light.Dialog.Alert">

or define your own dialog style

Change-Id: Icadbcf2c617c51177466989acdab9435066a47a0
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
fix derp

Change-Id: I1fc6a41b717954c21e0f8a389047bcc37ee95c8a