mirror of https://github.com/M66B/FairEmail.git
Give fit drawable more time on slow devices
This commit is contained in:
parent
96abb4fb8a
commit
fc028bc122
|
@ -455,7 +455,7 @@ class ImageHelper {
|
|||
});
|
||||
|
||||
try {
|
||||
if (!semaphore.tryAcquire(1500, TimeUnit.MILLISECONDS))
|
||||
if (!semaphore.tryAcquire(2500, TimeUnit.MILLISECONDS))
|
||||
Log.e("fitDrawable failed");
|
||||
} catch (InterruptedException ex) {
|
||||
Log.w(ex);
|
||||
|
|
Loading…
Reference in New Issue