Lowercasing search query in ExternalStorageProvider#querySearchDocs.
Bug: 30620314 Change-Id: I4203eda72c94fde11d3973274138ad88edb51e5f
This commit is contained in:
@@ -566,6 +566,7 @@ public class ExternalStorageProvider extends DocumentsProvider {
|
|||||||
throws FileNotFoundException {
|
throws FileNotFoundException {
|
||||||
final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
|
final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
|
||||||
|
|
||||||
|
query = query.toLowerCase();
|
||||||
final File parent;
|
final File parent;
|
||||||
synchronized (mRootsLock) {
|
synchronized (mRootsLock) {
|
||||||
parent = mRoots.get(rootId).path;
|
parent = mRoots.get(rootId).path;
|
||||||
|
|||||||
Reference in New Issue
Block a user