mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 12:17:37 +02:00
Fixed an issue with the logic that determines if the padding field should be written before the tries/handlers
git-svn-id: https://smali.googlecode.com/svn/trunk@389 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -237,7 +237,7 @@ public class CodeItem extends Item<CodeItem> {
|
||||
InstructionWriter.writeInstructions(encodedInstructions, referencedItems, out);
|
||||
|
||||
if (tries != null && tries.length > 0) {
|
||||
if ((tries.length % 2) == 1) {
|
||||
if ((encodedInstructions.length % 4) != 0) {
|
||||
out.writeShort(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user