mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
add support for TYPE_NULL
This commit is contained in:
parent
bbc6023068
commit
2db8828efb
@ -34,6 +34,8 @@ public class ResValueFactory {
|
||||
public ResScalarValue factory(int type, int value, String rawValue)
|
||||
throws AndrolibException {
|
||||
switch (type) {
|
||||
case TypedValue.TYPE_NULL:
|
||||
return new ResReferenceValue(mPackage, 0, null);
|
||||
case TypedValue.TYPE_REFERENCE:
|
||||
return newReference(value, rawValue);
|
||||
case TypedValue.TYPE_ATTRIBUTE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user