Fix crash with improper fallback size.
This commit is contained in:
parent
587cb5de16
commit
a242dba345
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue