Try to fix OOM issues on bitmap loading.

This commit is contained in:
Pierre 2018-04-19 17:00:37 +02:00
parent 2dc07aba13
commit 037fee7292

View File

@ -135,7 +135,7 @@ public class ImageLoadRunnable implements Runnable {
* Once the image was downloaded (if it wasn't already) load the image into a bitmap object * Once the image was downloaded (if it wasn't already) load the image into a bitmap object
* The apply to the final image view * The apply to the final image view
*/ */
private void load_image(){ private synchronized void load_image(){
//Check if the file exists //Check if the file exists
if(!file.exists()){ if(!file.exists()){