diff --git a/app/src/main/java/eu/faircode/email/ImageHelper.java b/app/src/main/java/eu/faircode/email/ImageHelper.java index 38ca51a3a5..1701e2f050 100644 --- a/app/src/main/java/eu/faircode/email/ImageHelper.java +++ b/app/src/main/java/eu/faircode/email/ImageHelper.java @@ -422,7 +422,7 @@ class ImageHelper { }); try { - if (!semaphore.tryAcquire(10, TimeUnit.SECONDS)) + if (!semaphore.tryAcquire(10 * 1000, TimeUnit.MILLISECONDS)) Log.e("fitDrawable failed"); } catch (InterruptedException ex) { Log.w(ex);