Give fit drawable more time on slow devices

This commit is contained in:
M66B
2019-10-13 21:31:25 +02:00
parent 96abb4fb8a
commit fc028bc122

View File

@@ -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);