mirror of
https://github.com/revanced/smali.git
synced 2025-05-23 18:16:23 +02:00
Fix issue in DexPool with blank parameter annotations
This commit is contained in:
parent
9ed12bac38
commit
2973f7a4af
@ -609,7 +609,11 @@ public abstract class DexWriter<
|
||||
|
||||
writer.writeInt(parameterAnnotations.size());
|
||||
for (AnnotationSetKey annotationSetKey: parameterAnnotations) {
|
||||
writer.writeInt(annotationSetSection.getItemOffset(annotationSetKey));
|
||||
if (annotationSetSection.getAnnotations(annotationSetKey).size() > 0) {
|
||||
writer.writeInt(annotationSetSection.getItemOffset(annotationSetKey));
|
||||
} else {
|
||||
writer.writeInt(NO_OFFSET);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user