Lowercasing search query in ExternalStorageProvider#querySearchDocs.

am: b56e9213ce

Change-Id: I6dd4f9194d0c590525962f8acba70e7a8e14a4ed
This commit is contained in:
Ben Lin
2016-08-19 22:28: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;