mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 19:16:09 +01:00
parent
ad59fdd378
commit
15bc16c6bd
@ -71,6 +71,9 @@ public class ResValueFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ResIntBasedValue factory(String value, int rawValue) {
|
public ResIntBasedValue factory(String value, int rawValue) {
|
||||||
|
if (value == null) {
|
||||||
|
return new ResFileValue("", rawValue);
|
||||||
|
}
|
||||||
if (value.startsWith("res/")) {
|
if (value.startsWith("res/")) {
|
||||||
return new ResFileValue(value, rawValue);
|
return new ResFileValue(value, rawValue);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user