mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Use encryption folder for PGP decrypt
This commit is contained in:
@@ -7382,7 +7382,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
InputStream in = null;
|
||||
OutputStream out = null;
|
||||
boolean inline = false;
|
||||
File plain = File.createTempFile("plain", "." + message.id, context.getCacheDir());
|
||||
|
||||
File tmp = new File(context.getFilesDir(), "encryption");
|
||||
if (!tmp.exists())
|
||||
tmp.mkdir();
|
||||
File plain = new File(tmp, message.id + ".pgp_out");
|
||||
|
||||
// Find encrypted data
|
||||
for (EntityAttachment attachment : attachments)
|
||||
|
||||
Reference in New Issue
Block a user