mirror of
https://github.com/revanced/smali.git
synced 2025-05-01 15:14:32 +02: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
686cf35c8e
commit
62c103d92a
@ -628,7 +628,7 @@ public class ClassProto implements TypeProto {
|
|||||||
for (int i=0; i<vtable.size(); i++) {
|
for (int i=0; i<vtable.size(); i++) {
|
||||||
Method superMethod = vtable.get(i);
|
Method superMethod = vtable.get(i);
|
||||||
if (methodSignaturesMatch(superMethod, virtualMethod)) {
|
if (methodSignaturesMatch(superMethod, virtualMethod)) {
|
||||||
if (classPath.getApi() < 17 || canAccess(superMethod)) {
|
if (classPath.getApi() != 17 || canAccess(superMethod)) {
|
||||||
if (replaceExisting) {
|
if (replaceExisting) {
|
||||||
vtable.set(i, virtualMethod);
|
vtable.set(i, virtualMethod);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user