Use origin repo
This commit is contained in:
parent
c87f7ffa14
commit
c4cc5ab563
|
|
@ -1,8 +1,8 @@
|
||||||
[submodule "mmp"]
|
|
||||||
path = mmp
|
|
||||||
url = https://github.com/327135569/LSPosed.git
|
|
||||||
branch = lspatch
|
|
||||||
[submodule "apksigner"]
|
[submodule "apksigner"]
|
||||||
path = apksigner
|
path = apksigner
|
||||||
url = https://android.googlesource.com/platform/tools/apksig.git
|
url = https://android.googlesource.com/platform/tools/apksig.git
|
||||||
branch = android10-release
|
branch = android10-release
|
||||||
|
[submodule "core"]
|
||||||
|
path = core
|
||||||
|
url = https://github.com/LSPosed/LSPosed.git
|
||||||
|
branch = lspatch
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,12 @@ public class MainActivity extends Activity {
|
||||||
param.setResult(true);
|
param.setResult(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
XposedHelpers.findAndHookMethod(this.getClass(), "checkXposed2", new XC_MethodHook() {
|
||||||
|
@Override
|
||||||
|
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
|
||||||
|
param.setResult(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
TextView textView = findViewById(R.id.msg);
|
TextView textView = findViewById(R.id.msg);
|
||||||
if (checkXposed() && checkXposed2()) {
|
if (checkXposed() && checkXposed2()) {
|
||||||
|
|
@ -43,7 +49,7 @@ public class MainActivity extends Activity {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean checkXposed2() {
|
public static boolean checkXposed2() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 90b37a68aa32e79ea2dc58048f7657ba66abed89
|
||||||
1
mmp
1
mmp
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit f52b62307bcf5f08a483a3c28f630e036bd8355d
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
include ':app'
|
include ':app'
|
||||||
rootProject.name='LSPatch'
|
rootProject.name='LSPatch'
|
||||||
include ':lspcore'
|
include ':lspcore'
|
||||||
project(':lspcore').projectDir = new File('mmp/core')
|
project(':lspcore').projectDir = new File('core/core')
|
||||||
include ':hiddenapi-stubs'
|
include ':hiddenapi-stubs'
|
||||||
project(':hiddenapi-stubs').projectDir = new File('mmp/hiddenapi-stubs')
|
project(':hiddenapi-stubs').projectDir = new File('core/hiddenapi-stubs')
|
||||||
include ':interface'
|
include ':interface'
|
||||||
project(':interface').projectDir = new File('mmp/service/interface')
|
project(':interface').projectDir = new File('core/service/interface')
|
||||||
include ':hiddenapi-bridge'
|
include ':hiddenapi-bridge'
|
||||||
project(':hiddenapi-bridge').projectDir = new File('mmp/hiddenapi-bridge')
|
project(':hiddenapi-bridge').projectDir = new File('core/hiddenapi-bridge')
|
||||||
include ':manager-service'
|
include ':manager-service'
|
||||||
project(':manager-service').projectDir = new File('mmp/manager-service')
|
project(':manager-service').projectDir = new File('core/manager-service')
|
||||||
include ':patch'
|
include ':patch'
|
||||||
include ':axmlprinter'
|
include ':axmlprinter'
|
||||||
include ':share'
|
include ':share'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue