mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
fix: write dummy resources as items
This commit is contained in:
parent
a36be82c48
commit
e4654e0b5f
@ -81,6 +81,11 @@ public abstract class ResScalarValue extends ResIntBasedValue implements
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Dummy attributes should be <item> with type attribute
|
||||||
|
if (res.getResSpec().isDummyResSpec()) {
|
||||||
|
item = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Android does not allow values (false) for ids.xml anymore
|
// Android does not allow values (false) for ids.xml anymore
|
||||||
// https://issuetracker.google.com/issues/80475496
|
// https://issuetracker.google.com/issues/80475496
|
||||||
// But it decodes as a ResBoolean, which makes no sense. So force it to empty
|
// But it decodes as a ResBoolean, which makes no sense. So force it to empty
|
||||||
|
Loading…
Reference in New Issue
Block a user