kopia lustrzana https://github.com/ryukoposting/Signal-Android
Pass exception to thrown AssertionError in shortuct icon generation.
rodzic
e0c38f7c72
commit
eb1daf4a20
|
@ -113,7 +113,7 @@ public final class AvatarUtil {
|
||||||
}
|
}
|
||||||
return Icon.createWithAdaptiveBitmap(glideRequest.submit().get());
|
return Icon.createWithAdaptiveBitmap(glideRequest.submit().get());
|
||||||
} catch (ExecutionException | InterruptedException e) {
|
} catch (ExecutionException | InterruptedException e) {
|
||||||
throw new AssertionError("This call should not fail.");
|
throw new AssertionError("This call should not fail.", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ public final class AvatarUtil {
|
||||||
}
|
}
|
||||||
return IconCompat.createWithAdaptiveBitmap(glideRequest.submit().get());
|
return IconCompat.createWithAdaptiveBitmap(glideRequest.submit().get());
|
||||||
} catch (ExecutionException | InterruptedException e) {
|
} catch (ExecutionException | InterruptedException e) {
|
||||||
throw new AssertionError("This call should not fail.");
|
throw new AssertionError("This call should not fail.", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue