mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Try to fix OOM issues on bitmap loading.
This commit is contained in:
parent
2dc07aba13
commit
037fee7292
@ -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()){
|
||||||
|
Loading…
Reference in New Issue
Block a user