mirror of
https://github.com/revanced/Apktool.git
synced 2024-06-10 07:07:53 +02: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…
Reference in New Issue
Block a user