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

Commit 661948b8 authored by Ben Lin's avatar Ben Lin Committed by android-build-merger
Browse files

Lowercasing search query in ExternalStorageProvider#querySearchDocs.

am: b56e9213

Change-Id: I6dd4f9194d0c590525962f8acba70e7a8e14a4ed
parents 0633594e b56e9213
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;