mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
Fixes Facebook apk deconstruction (#2884)
This commit is contained in:
parent
63a8d092d8
commit
5d6c6c04d2
@ -104,13 +104,13 @@ public class ResValueFactory {
|
|||||||
return new ResPluralsValue(parentVal, items);
|
return new ResPluralsValue(parentVal, items);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ResTypeSpec.RES_TYPE_NAME_STYLES.equals(resTypeName)) {
|
|
||||||
return new ResStyleValue(parentVal, items, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ResTypeSpec.RES_TYPE_NAME_ATTR.equals(resTypeName)) {
|
if (ResTypeSpec.RES_TYPE_NAME_ATTR.equals(resTypeName)) {
|
||||||
return new ResAttr(parentVal, 0, null, null, null);
|
return new ResAttr(parentVal, 0, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resTypeName.startsWith(ResTypeSpec.RES_TYPE_NAME_STYLES)) {
|
||||||
|
return new ResStyleValue(parentVal, items, this);
|
||||||
|
}
|
||||||
|
|
||||||
throw new AndrolibException("unsupported res type name for bags. Found: " + resTypeName);
|
throw new AndrolibException("unsupported res type name for bags. Found: " + resTypeName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user