mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +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 AvatarTarget(int size) {
|
||||
this.size = size;
|
||||
this.size = size == UNDEFINED_SIZE ? DrawableUtil.SHORTCUT_INFO_WRAPPED_SIZE : size;
|
||||
}
|
||||
|
||||
public @Nullable Bitmap await() throws InterruptedException {
|
||||
|
||||
Reference in New Issue
Block a user