Skip to content

Commit

Permalink
Don't remove synthetic flag from classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjameshamilton authored and piazzesiNiccolo-GS committed Mar 8, 2024
1 parent 6ac17bc commit 21feb53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions android/src/main/java/proguard/dexfile/converter/Dex2Pro.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ private static int clearClassAccess(boolean isInner, int access) {
access |= AccessConstants.PUBLIC;
}
access &= ~DexConstants.ACC_DECLARED_SYNCHRONIZED; // clean ACC_DECLARED_SYNCHRONIZED
access &= ~DexConstants.ACC_SYNTHETIC; // clean ACC_SYNTHETIC
return access;
}

Expand All @@ -244,7 +243,6 @@ private static int clearInnerAccess(int access) {
} else if (0 != (access & AccessConstants.PROTECTED)) { // clear public if it is protected
access &= ~(AccessConstants.PUBLIC);
}
access &= ~DexConstants.ACC_SYNTHETIC; // clean ACC_SYNTHETIC
return access;
}

Expand Down

0 comments on commit 21feb53

Please sign in to comment.