fix: survive if referent is null (flags)

This commit is contained in:
Connor Tumbleson 2020-11-29 09:16:13 -05:00 committed by Connor Tumbleson
parent 5f7630e325
commit 734793c4bb

View File

@ -155,6 +155,9 @@ public class ResFlagsAttr extends ResAttr {
public String getValue() throws AndrolibException {
if (value == null) {
if (ref.referentIsNull()) {
return "@null";
}
value = ref.getReferent().getName();
}
return value;