Skip to content
Snippets Groups Projects
Commit ca6f6d5f authored by Lais Andrade's avatar Lais Andrade Committed by Gerrit Code Review
Browse files

Merge "Use string from EXTRA_RINGTONE_TITLE SoundPicker intent" into main

parents 6a7f2787 447575fc
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ import android.os.UserHandle;
import android.os.UserManager;
import android.provider.MediaStore;
import android.provider.Settings;
import android.text.Html;
import android.util.Log;
import android.util.TypedValue;
import android.view.LayoutInflater;
......@@ -253,6 +254,9 @@ public final class RingtonePickerActivity extends AlertActivity implements
} else {
p.mTitle = getString(com.android.internal.R.string.ringtone_picker_title);
}
} else {
// Make sure intents don't inject HTML elements.
p.mTitle = Html.escapeHtml(p.mTitle.toString());
}
setupAlert();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment