mirror of
https://github.com/revanced/smali.git
synced 2025-05-03 08:04:28 +02:00
Fixed the count of map_items in map_list.
This commit is contained in:
parent
0e3a7a36d1
commit
b254a997b5
@ -78,7 +78,7 @@ public class MapItem {
|
||||
writeItem(writer, DexItemType.DEBUG_INFO_ITEM, dexFile.debugInfoPool.getNumItems(), dexFile.debugInfoPool.getSectionOffset());
|
||||
writeItem(writer, DexItemType.CODE_ITEM, dexFile.codeItemPool.getNumItems(), dexFile.codeItemPool.getSectionOffset());
|
||||
writeItem(writer, DexItemType.CLASS_DATA_ITEM, dexFile.classDefPool.getNumClassDataItems(), dexFile.classDefPool.getDataSectionOffset());
|
||||
writeItem(writer, DexItemType.MAP_LIST, numItems, sectionOffset);
|
||||
writeItem(writer, DexItemType.MAP_LIST, 1, sectionOffset);
|
||||
}
|
||||
|
||||
private int calcNumItems() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user