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

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

Lowercasing search query in ExternalStorageProvider#querySearchDocs. am: b56e9213

am: 661948b8

Change-Id: Ia5887e196852187c0fc628beb1ba1b5353850694
parents 426a0c14 661948b8
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;