mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
mark thumbnails as .tmp files that should be explicitly gced on start.
This commit is contained in:
parent
7de3aeb740
commit
65e318a80e
@ -189,7 +189,7 @@ public class AttachmentProvider extends ContentProvider
|
||||
{
|
||||
int width = Integer.parseInt(segments.get(3));
|
||||
int height = Integer.parseInt(segments.get(4));
|
||||
String filename = "thmb_" + dbName + "_" + id;
|
||||
String filename = "thmb_" + dbName + "_" + id + ".tmp";
|
||||
File dir = getContext().getCacheDir();
|
||||
File file = new File(dir, filename);
|
||||
if (!file.exists())
|
||||
|
Loading…
Reference in New Issue
Block a user