Update core
This commit is contained in:
parent
36f058f554
commit
5e37951907
|
|
@ -1,6 +1,12 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
flavorDimensions "api"
|
||||
productFlavors {
|
||||
Riru {
|
||||
dimension 'api'
|
||||
}
|
||||
}
|
||||
compileSdkVersion rootProject.ext.androidCompileSdkVersion
|
||||
defaultConfig {
|
||||
applicationId "org.lsposed.lspatch"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import android.os.Bundle;
|
|||
import android.os.Environment;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.os.RemoteException;
|
||||
import android.system.Os;
|
||||
import android.util.Log;
|
||||
|
|
@ -373,16 +374,6 @@ public class LSPApplication extends ApplicationServiceClient {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requestManagerBinder(String packageName, String path, List<IBinder> binder) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isResourcesHookEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List getModulesList(String processName) {
|
||||
return getModulesList();
|
||||
|
|
@ -403,6 +394,11 @@ public class LSPApplication extends ApplicationServiceClient {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ParcelFileDescriptor requestInjectedManagerBinder(List<IBinder> binder) throws RemoteException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder asBinder() {
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ buildscript {
|
|||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.0.3'
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31'
|
||||
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.4.0-beta02")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -24,6 +25,8 @@ ext {
|
|||
defaultManagerPackageName = "org.lsposed.lspatch"
|
||||
androidSourceCompatibility = JavaVersion.VERSION_11
|
||||
androidTargetCompatibility = JavaVersion.VERSION_11
|
||||
agpVersion = "7.0.3"
|
||||
navVersion = "2.4.0-beta02"
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
|
|
|||
2
core
2
core
|
|
@ -1 +1 @@
|
|||
Subproject commit d1098f04abbcc2a91ef211055c60c1a992b899d1
|
||||
Subproject commit a06ba931a533198cd906825d436280db8247c869
|
||||
|
|
@ -3,6 +3,12 @@ plugins {
|
|||
}
|
||||
|
||||
android {
|
||||
flavorDimensions "api"
|
||||
productFlavors {
|
||||
Riru {
|
||||
dimension 'api'
|
||||
}
|
||||
}
|
||||
compileSdk 31
|
||||
|
||||
defaultConfig {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ jar {
|
|||
|
||||
tasks.register("buildDebug") {
|
||||
jar.dependsOn(':appstub:copyDebug')
|
||||
jar.dependsOn(':app:copyDebug')
|
||||
jar.dependsOn(':app:copyRiruDebug')
|
||||
dependsOn(build)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ include ':app'
|
|||
rootProject.name='LSPatch'
|
||||
include ':lspcore'
|
||||
project(':lspcore').projectDir = new File('core/core')
|
||||
include ':lspapp'
|
||||
project(':lspapp').projectDir = new File('core/app')
|
||||
include ':hiddenapi-stubs'
|
||||
project(':hiddenapi-stubs').projectDir = new File('core/hiddenapi-stubs')
|
||||
include ':interface'
|
||||
|
|
|
|||
Loading…
Reference in New Issue