mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Fix issue when writing parameter annotations
This commit is contained in:
@ -666,7 +666,7 @@ public abstract class DexWriter<
|
||||
for (MethodKey method: methods) {
|
||||
int offset = classSection.getAnnotationSetRefListOffset(method);
|
||||
if (offset != DexWriter.NO_OFFSET) {
|
||||
methodAnnotations++;
|
||||
parameterAnnotations++;
|
||||
tempBuffer.putInt(methodSection.getMethodIndex(method));
|
||||
tempBuffer.putInt(offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user