mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-19 02:49:25 +01:00
Merge pull request #1570 from iBotPeaches/issue-1564
Survive decoder if malformed string is encountered
This commit is contained in:
commit
1a8916e852
@ -71,6 +71,9 @@ public class ResValueFactory {
|
||||
}
|
||||
|
||||
public ResIntBasedValue factory(String value, int rawValue) {
|
||||
if (value == null) {
|
||||
return new ResFileValue("", rawValue);
|
||||
}
|
||||
if (value.startsWith("res/")) {
|
||||
return new ResFileValue(value, rawValue);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user