Closed inversebit closed 6 years ago
So... deleteOnExit
doesn't work
The unix trick of deleting files after opening them seems nice, but it won't work with the original image. If I delete it on the ImageParsingTask
then the DebugActivity
wouldn't be able to open it. And if I don't delete it there and the DebugActivity
is not used the image would stay there.
So, two methods will be applied:
MainActivity
will always do a cleanup when starting (still don't know in which callback) to delete all imagesThis may conflict with the current back behaviour, #4 may solve any problems here
The app keeps hoarding storage MBs.
Investigate what it is saving and write the code to clean up all unnecessary storage space after using it.