Support tag translations

This commit is contained in:
seven332 committed 2019-01-20 00:49:54 +08:00
1 parent 3904406d74
commit c580938806
15 files changed
+491 -2

No files matched your search

@@ -156,4 +156,19 @@ public class AppConfig {
IOUtils.closeQuietly(os);
}
}
@Nullable
public static File getFilesDir(String name) {
File dir = sContext.getFilesDir();
if (dir == null) {
return null;
}
dir = new File(dir, name);
if (dir.isDirectory() || dir.mkdirs()) {
return dir;
} else {
return null;
}
}
}