Merge pull request #1570 from iBotPeaches/issue-1564

Survive decoder if malformed string is encountered
This commit is contained in:
Connor Tumbleson 2017-07-27 07:48:46 -04:00 committed by GitHub
commit 1a8916e852

View File

@ -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);
}