Add badge workaround for old Android builds
This commit is contained in:
parent
71dd0890de
commit
bf1190696e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue