Fix crash with improper fallback size.

This commit is contained in:
Alex Hart 2023-08-18 13:24:48 -03:00
parent 587cb5de16
commit a242dba345

View file

@ -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 {