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

Commit b56e9213 authored by Ben Lin's avatar Ben Lin
Browse files

Lowercasing search query in ExternalStorageProvider#querySearchDocs.

Bug: 30620314
Change-Id: I4203eda72c94fde11d3973274138ad88edb51e5f
parent f6b29b8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -566,6 +566,7 @@ public class ExternalStorageProvider extends DocumentsProvider {
            throws FileNotFoundException {
        final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));

        query = query.toLowerCase();
        final File parent;
        synchronized (mRootsLock) {
            parent = mRoots.get(rootId).path;