mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-02 15:17:56 +01:00
checkPackagePrivateAccess only for API 17(4.2)
Google revert this for compatibility.
see 7284c78e14
for details.
BTW, it seems that is also disabled for late 4.2
This commit is contained in:
parent
959133cbf0
commit
b2cf6b1d32
@ -628,7 +628,7 @@ public class ClassProto implements TypeProto {
|
||||
for (int i=0; i<vtable.size(); i++) {
|
||||
Method superMethod = vtable.get(i);
|
||||
if (methodSignaturesMatch(superMethod, virtualMethod)) {
|
||||
if (classPath.getApi() < 17 || canAccess(superMethod)) {
|
||||
if (classPath.getApi() != 17 || canAccess(superMethod)) {
|
||||
if (replaceExisting) {
|
||||
vtable.set(i, virtualMethod);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user