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 the mac build

Change-Id: I7cf4d6c4c393da31d55f571db7a64a0212559500
Signed-off-by: Roman Birg <roman@cyngn.com>
Quiet Hours: Add 4 state (off, timed inactive, timed active and forced on) support

Change-Id: I2486d2dd40d0db9fceab74d53fba233bac508de3
Merge "base: Add theme support to Ringtone and Profile pickers activities" into cm-11.0
Merge "Quiet Hours: Add 4 state (off, timed inactive, timed active and forced on) support" into cm-11.0
Revert "fix the mac build"

Alas, April 1st is nearly done. Baaaaaah

This reverts commit 43299c39a8f4f055b23dc7bb9827eebe29da15df.

Change-Id: I600a576de1a751a31a7b32165eb011b37b83e505
Merge "Revert "fix the mac build"" into cm-11.0
Merge branch 'cm/cm-11.0'