commit | 4bee3271fb8ef44dc00896a0fcf84962b2237698 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed Jul 31 12:52:51 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jul 31 12:52:51 2024 +0000 |
tree | f39aa2b74941e2d5e52fdbf48712daa1046e306a | |
parent | 4dd6ff9717ed496122eee973dfbcb65c16dd3ed6 [diff] | |
parent | 23cdee3f5c22b16112b4af825160588b652bba71 [diff] |
Merge "Stop using escape HTML on SoundPicker title from intent" into main
diff --git a/packages/SoundPicker/src/com/android/soundpicker/RingtonePickerActivity.java b/packages/SoundPicker/src/com/android/soundpicker/RingtonePickerActivity.java index 0dd9275..8c3cce4 100644 --- a/packages/SoundPicker/src/com/android/soundpicker/RingtonePickerActivity.java +++ b/packages/SoundPicker/src/com/android/soundpicker/RingtonePickerActivity.java
@@ -255,8 +255,8 @@ 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()); + // Make sure intents don't inject spannable elements. + p.mTitle = p.mTitle.toString(); } setupAlert();