update
This commit is contained in:
parent
a07e31ebf7
commit
466a1b747f
@ -209,6 +209,7 @@ public class AppTools {
|
||||
return token;
|
||||
}
|
||||
public static List<File> scanFilePath(String path){
|
||||
Log.i("scan > "+path);
|
||||
List<File> files=new ArrayList<>();
|
||||
File file=new File(path);
|
||||
for (File listFile : Objects.requireNonNull(file.listFiles())) {
|
||||
@ -216,6 +217,7 @@ public class AppTools {
|
||||
files.addAll(scanFilePath(listFile.getAbsolutePath()));
|
||||
}else{
|
||||
files.add(listFile);
|
||||
Log.i("add file is > "+listFile.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
return files;
|
||||
|
Loading…
Reference in New Issue
Block a user