getExternalFilesDir compat

This commit is contained in:
M66B
2022-11-03 16:57:53 +01:00
parent 8b5fd03117
commit cc0b6b1560
4 changed files with 20 additions and 8 deletions

View File

@@ -2844,7 +2844,7 @@ public class Log {
size += write(os, String.format("Source: %s\r\n public: %s\r\n",
ai.sourceDir, ai.publicSourceDir));
size += write(os, String.format("Files: %s\r\n external: %s\r\n storage: %s\r\n",
context.getFilesDir(), context.getExternalFilesDir(null),
context.getFilesDir(), Helper.getExternalFilesDir(context),
Environment.getExternalStorageDirectory()));
size += write(os, String.format("Cache: %s\r\n external: %s\n",
context.getCacheDir(), context.getExternalCacheDir()));