mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-19 02:49:25 +01:00
Merge branch 'visigoth-master'
This commit is contained in:
commit
e8d0d3beef
@ -28,6 +28,7 @@ public final class ResTypeSpec {
|
|||||||
public static final String RES_TYPE_NAME_ARRAY = "array";
|
public static final String RES_TYPE_NAME_ARRAY = "array";
|
||||||
public static final String RES_TYPE_NAME_PLURALS = "plurals";
|
public static final String RES_TYPE_NAME_PLURALS = "plurals";
|
||||||
public static final String RES_TYPE_NAME_STYLES = "style";
|
public static final String RES_TYPE_NAME_STYLES = "style";
|
||||||
|
public static final String RES_TYPE_NAME_ATTR = "attr";
|
||||||
|
|
||||||
private final String mName;
|
private final String mName;
|
||||||
private final Map<String, ResResSpec> mResSpecs = new LinkedHashMap<String, ResResSpec>();
|
private final Map<String, ResResSpec> mResSpecs = new LinkedHashMap<String, ResResSpec>();
|
||||||
|
@ -112,6 +112,10 @@ public class ResValueFactory {
|
|||||||
return new ResStyleValue(parentVal, items, this);
|
return new ResStyleValue(parentVal, items, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ResTypeSpec.RES_TYPE_NAME_ATTR.equals(resTypeName)) {
|
||||||
|
return new ResAttr(parentVal, 0, null, null, null);
|
||||||
|
}
|
||||||
|
|
||||||
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