Loading packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java +4 −1 Original line number Diff line number Diff line Loading @@ -577,8 +577,11 @@ public class ExternalStorageProvider extends FileSystemProvider { public Cursor querySearchDocuments(String rootId, String[] projection, Bundle queryArgs) throws FileNotFoundException { final File parent; synchronized (mRootsLock) { parent = mRoots.get(rootId).path; RootInfo root = mRoots.get(rootId); parent = root.visiblePath != null ? root.visiblePath : root.path; } return querySearchDocuments(parent, projection, Collections.emptySet(), queryArgs); Loading Loading
packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java +4 −1 Original line number Diff line number Diff line Loading @@ -577,8 +577,11 @@ public class ExternalStorageProvider extends FileSystemProvider { public Cursor querySearchDocuments(String rootId, String[] projection, Bundle queryArgs) throws FileNotFoundException { final File parent; synchronized (mRootsLock) { parent = mRoots.get(rootId).path; RootInfo root = mRoots.get(rootId); parent = root.visiblePath != null ? root.visiblePath : root.path; } return querySearchDocuments(parent, projection, Collections.emptySet(), queryArgs); Loading