Add badge workaround for old Android builds

This commit is contained in:
Ehren Kret committed 2021-11-23 09:58:06 -06:00
1 parent 71dd0890de
commit bf1190696e
1 file changed
+9
@@ -72,6 +72,15 @@ public class Badge {
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
public boolean equals(final Object o) {
if (this == o) {