mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 08:34:25 +02:00
Align the offset before placing the map item
git-svn-id: https://smali.googlecode.com/svn/trunk@385 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
ae7235f8df
commit
8922ca1c4c
@ -28,10 +28,7 @@
|
||||
|
||||
package org.jf.dexlib;
|
||||
|
||||
import org.jf.dexlib.Util.AnnotatedOutput;
|
||||
import org.jf.dexlib.Util.ByteArrayInput;
|
||||
import org.jf.dexlib.Util.FileUtils;
|
||||
import org.jf.dexlib.Util.Input;
|
||||
import org.jf.dexlib.Util.*;
|
||||
import org.jf.dexlib.*;
|
||||
import org.jf.dexlib.Item;
|
||||
import org.jf.dexlib.StringDataItem;
|
||||
@ -495,6 +492,8 @@ public class DexFile
|
||||
sectionsPosition++;
|
||||
}
|
||||
|
||||
|
||||
offset = AlignmentUtils.alignOffset(offset, ItemType.TYPE_MAP_LIST.ItemAlignment);
|
||||
offset = MapItem.placeAt(offset, 0);
|
||||
|
||||
fileSize = offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user