mirror of https://github.com/M66B/FairEmail.git
Increase fit drawable timeout
This commit is contained in:
parent
d46d4cf6b4
commit
5ca44438e0
|
@ -422,7 +422,7 @@ class ImageHelper {
|
||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (!semaphore.tryAcquire(5000, TimeUnit.MILLISECONDS))
|
if (!semaphore.tryAcquire(10, TimeUnit.SECONDS))
|
||||||
Log.e("fitDrawable failed");
|
Log.e("fitDrawable failed");
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
Log.w(ex);
|
Log.w(ex);
|
||||||
|
|
Loading…
Reference in New Issue