mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
getExternalFilesDir compat
This commit is contained in:
@@ -164,7 +164,7 @@ public class EntityAttachment {
|
||||
boolean external_storage = prefs.getBoolean("external_storage", false);
|
||||
|
||||
File root = (external_storage
|
||||
? context.getExternalFilesDir(null)
|
||||
? Helper.getExternalFilesDir(context)
|
||||
: context.getFilesDir());
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user