Add analytics
This commit is contained in:
1 parent
ac5f839a75
commit
5b6b6f63b2
24 files changed
+816
-90
No files matched your search
@@ -64,6 +64,16 @@ public class AppConfig {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static File getFileInAppDir(String filename) {
|
||||
File appFolder = getExternalAppDir();
|
||||
if (appFolder != null) {
|
||||
File file = new File(appFolder, filename);
|
||||
return FileUtils.ensureFile(file) ? file : null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static File getDefaultDownloadDir() {
|
||||
return getDirInAppDir(DOWNLOAD);
|
||||
|
||||
Reference in new issue
Block a user