update libxposed

This commit is contained in:
tehcneko 2024-07-29 10:34:14 +08:00
parent 3525dd69a8
commit b222af63b4
4 changed files with 35 additions and 1 deletions

View File

@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: libxposed/api
ref: a42f85d06eac3373d266a534ab3b31a584b30774
ref: 64e29bd657ef4d2540b34402f5a988778f29e676
path: libxposed/api
fetch-depth: 0
@ -50,6 +50,7 @@ jobs:
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC' >> ~/.gradle/gradle.properties
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
# build dependencies
sed -i 's/VERSION_21/VERSION_17/g' libxposed/api/checks/build.gradle.kts
cd libxposed/api && ./gradlew publishToMavenLocal && cd ../..
# build DisableFlagSecure
chmod +x gradlew

View File

@ -0,0 +1,11 @@
package io.github.libxposed.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface AfterInvocation {
}

View File

@ -0,0 +1,11 @@
package io.github.libxposed.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface BeforeInvocation {
}

View File

@ -0,0 +1,11 @@
package io.github.libxposed.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.TYPE_USE})
public @interface XposedHooker {
}