mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 06:59:24 +01:00
Merge pull request #2606 from iBotPeaches/issue-2603
fix: write dummy resources as items
This commit is contained in:
commit
646f43a140
@ -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
|
||||
// https://issuetracker.google.com/issues/80475496
|
||||
// But it decodes as a ResBoolean, which makes no sense. So force it to empty
|
||||
|
Loading…
Reference in New Issue
Block a user