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

Commit 7ca3194d authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into nyc-mr1-dev

parents f438720b 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;