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

Commit d8f861f9 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 53cf55c6: Merge change 2349 into donut

Merge commit '53cf55c6'

* commit '53cf55c6':
  Change the media key algorithm to also ignore double quotes.
parents 3aac895a 53cf55c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -737,7 +737,7 @@ public final class MediaStore
                    name.endsWith(", a") || name.endsWith(",a")) {
                    name = name.substring(0, name.lastIndexOf(','));
                }
                name = name.replaceAll("[\\[\\]\\(\\)'.,?!]", "").trim();
                name = name.replaceAll("[\\[\\]\\(\\)\"'.,?!]", "").trim();
                if (name.length() > 0) {
                    // Insert a separator between the characters to avoid
                    // matches on a partial character. If we ever change