Lowercasing search query in ExternalStorageProvider#querySearchDocs. am: b56e9213ce

am: 661948b8f0

Change-Id: Ia5887e196852187c0fc628beb1ba1b5353850694
This commit is contained in:
Ben Lin
2016-08-19 23:01:20 +00:00
committed by android-build-merger

View File

@@ -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;