mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
fix: survive if referent is null (flags)
This commit is contained in:
parent
5f7630e325
commit
734793c4bb
@ -155,6 +155,9 @@ public class ResFlagsAttr extends ResAttr {
|
|||||||
|
|
||||||
public String getValue() throws AndrolibException {
|
public String getValue() throws AndrolibException {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
|
if (ref.referentIsNull()) {
|
||||||
|
return "@null";
|
||||||
|
}
|
||||||
value = ref.getReferent().getName();
|
value = ref.getReferent().getName();
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
Loading…
Reference in New Issue
Block a user