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

Commit e754e128 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Change the media key algorithm to also ignore double quotes.

parent 9d892a8e
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