mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-01 14:47:56 +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)
|
public ResScalarValue factory(int type, int value, String rawValue)
|
||||||
throws AndrolibException {
|
throws AndrolibException {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
case TypedValue.TYPE_NULL:
|
||||||
|
return new ResReferenceValue(mPackage, 0, null);
|
||||||
case TypedValue.TYPE_REFERENCE:
|
case TypedValue.TYPE_REFERENCE:
|
||||||
return newReference(value, rawValue);
|
return newReference(value, rawValue);
|
||||||
case TypedValue.TYPE_ATTRIBUTE:
|
case TypedValue.TYPE_ATTRIBUTE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user