Update core

This commit is contained in:
LoveSy 2021-12-08 21:00:17 +08:00
parent 36f058f554
commit 5e37951907
7 changed files with 26 additions and 13 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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

@ -1 +1 @@
Subproject commit d1098f04abbcc2a91ef211055c60c1a992b899d1
Subproject commit a06ba931a533198cd906825d436280db8247c869

View File

@ -3,6 +3,12 @@ plugins {
}
android {
flavorDimensions "api"
productFlavors {
Riru {
dimension 'api'
}
}
compileSdk 31
defaultConfig {

View File

@ -46,7 +46,7 @@ jar {
tasks.register("buildDebug") {
jar.dependsOn(':appstub:copyDebug')
jar.dependsOn(':app:copyDebug')
jar.dependsOn(':app:copyRiruDebug')
dependsOn(build)
}

View File

@ -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'