Merge "Support scanDirectories with JNI callback function"
am: 5747c2b81c
Change-Id: I8996fb568c4024ccf76a5643049de8cee6f811c6
This commit is contained in:
@@ -423,6 +423,12 @@ public class MtpDatabase implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
private void doScanDirectory(String path) {
|
||||
String[] scanPath;
|
||||
scanPath = new String[] { path };
|
||||
mMediaScanner.scanDirectories(scanPath);
|
||||
}
|
||||
|
||||
private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException {
|
||||
String where;
|
||||
String[] whereArgs;
|
||||
|
||||
Reference in New Issue
Block a user