mirror of
https://github.com/revanced/smali.git
synced 2025-05-28 11:50:12 +02:00
Fix method sorting in AnnotationDirectoryPool
This commit is contained in:
parent
7d5439950f
commit
5152315e25
@ -152,7 +152,7 @@ public class AnnotationDirectoryPool {
|
||||
writer.writeInt(dexFile.annotationSetPool.getOffset(field.getAnnotations()));
|
||||
}
|
||||
|
||||
boolean sortMethods = CollectionUtils.isNaturalSortedSet(key.classDef.getMethods());
|
||||
boolean sortMethods = !CollectionUtils.isNaturalSortedSet(key.classDef.getMethods());
|
||||
Iterable<? extends Method> methodsWithAnnotations = null;
|
||||
if (sortMethods) {
|
||||
methodsWithAnnotations = Lists.newArrayList(key.getMethodsWithAnnotations());
|
||||
|
Loading…
x
Reference in New Issue
Block a user