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