fix bypass signature
This commit is contained in:
parent
9373508fda
commit
50ab11ae2e
|
|
@ -11,6 +11,7 @@ import android.content.pm.Signature;
|
|||
import android.os.Build;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.util.Log;
|
||||
|
||||
import org.lsposed.lspatch.loader.util.FileUtils;
|
||||
import org.lsposed.lspatch.loader.util.XLog;
|
||||
|
|
@ -64,6 +65,8 @@ public class LSPApplication {
|
|||
}
|
||||
|
||||
static {
|
||||
cacheSigbypassLv = -1;
|
||||
|
||||
if (isIsolated()) {
|
||||
XLog.d(TAG, "skip isolated process");
|
||||
}
|
||||
|
|
@ -236,7 +239,7 @@ public class LSPApplication {
|
|||
}
|
||||
}
|
||||
|
||||
private static int cacheSigbypassLv = -1;
|
||||
private static int cacheSigbypassLv;
|
||||
|
||||
private static int fetchSigbypassLv() {
|
||||
if (cacheSigbypassLv != -1) {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,9 @@ public class LSPApplicationStub extends Application {
|
|||
|
||||
if (realLSPApplication != null) {
|
||||
try {
|
||||
realLSPApplication.getClass().getDeclaredMethod("attachBaseContext", Context.class).invoke(realLSPApplication, base);
|
||||
Method method = realLSPApplication.getClass().getDeclaredMethod("attachBaseContext", Context.class);
|
||||
method.setAccessible(true);
|
||||
method.invoke(realLSPApplication, base);
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new IllegalStateException("wtf", e);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#Thu Apr 08 14:13:08 CST 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
|
|||
2
mmp
2
mmp
|
|
@ -1 +1 @@
|
|||
Subproject commit 41668cd0ad080e18b527ad70db4b8828059e3257
|
||||
Subproject commit 64e74491257a3bc27ec4050789b768c45fd69171
|
||||
Loading…
Reference in New Issue