This commit is contained in:
2022-09-21 18:31:07 +08:00
parent bdaa51dbb6
commit e29ecd2845
202 changed files with 11730 additions and 619 deletions

View File

@@ -86,10 +86,7 @@ public class FileUtils {
* @return
*/
public static File getExternalFileDir(Context context) {
File fileDir = context.getExternalFilesDir(null);
if (fileDir == null) {
fileDir = context.getFilesDir();
}
File fileDir = context.getFilesDir();
return fileDir;
}