Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8845d3ce authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

contacts: Holo Light ringtone picker dialog

Depends on
http://review.cyanogenmod.org/#/c/61392
http://review.cyanogenmod.org/#/c/61393



Change-Id: I2619e88a2ab573c18acae3bc05887d5ec3038666
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 5b585fac
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -239,4 +239,7 @@
        <item name="android:textSize">18sp</item>
    </style>

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

</resources>
+2 −0
Original line number Diff line number Diff line
@@ -426,6 +426,8 @@ public class ContactLoaderFragment extends Fragment implements FragmentKeyListen
        intent.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE);
        // Allow the user to pick a silent ringtone
        intent.putExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT, true);
        // Set HoloLight theme dialog
        intent.putExtra(RingtoneManager.EXTRA_RINGTONE_DIALOG_THEME, R.style.Theme_RingtoneDialog);

        Uri ringtoneUri;
        if (mCustomRingtone != null) {