mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 12:08:34 +00:00
Fix crash with improper fallback size.
This commit is contained in:
@@ -207,7 +207,7 @@ public final class AvatarUtil {
|
|||||||
private final int size;
|
private final int size;
|
||||||
|
|
||||||
private AvatarTarget(int size) {
|
private AvatarTarget(int size) {
|
||||||
this.size = size;
|
this.size = size == UNDEFINED_SIZE ? DrawableUtil.SHORTCUT_INFO_WRAPPED_SIZE : size;
|
||||||
}
|
}
|
||||||
|
|
||||||
public @Nullable Bitmap await() throws InterruptedException {
|
public @Nullable Bitmap await() throws InterruptedException {
|
||||||
|
|||||||
Reference in New Issue
Block a user