Prevent crash

This commit is contained in:
M66B
2022-02-05 19:42:35 +01:00
parent e7ee3efcdb
commit cbe1067cca

View File

@@ -183,7 +183,7 @@ public class ActivityEML extends ActivityBase {
if (uri == null)
throw new FileNotFoundException();
File dir = new File(getCacheDir(), "shared");
File dir = new File(context.getCacheDir(), "shared");
if (!dir.exists())
dir.mkdir();