Add badge workaround for old Android builds

This commit is contained in:
Ehren Kret 2021-11-23 09:54:57 -06:00
parent 71dd0890de
commit bf1190696e
1 changed files with 9 additions and 0 deletions

View File

@ -72,6 +72,15 @@ public class Badge {
return svgs; return svgs;
} }
/**
* Workaround for old Android builds that expect this field to exist but don't care it's an empty string.
*/
@Deprecated
@JsonProperty
public String getImageUrl() {
return "";
}
@Override @Override
public boolean equals(final Object o) { public boolean equals(final Object o) {
if (this == o) { if (this == o) {