mirror of
https://github.com/LSPosed/DisableFlagSecure.git
synced 2025-05-05 02:22:30 +08:00
update libxposed
This commit is contained in:
parent
3525dd69a8
commit
b222af63b4
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: libxposed/api
|
repository: libxposed/api
|
||||||
ref: a42f85d06eac3373d266a534ab3b31a584b30774
|
ref: 64e29bd657ef4d2540b34402f5a988778f29e676
|
||||||
path: libxposed/api
|
path: libxposed/api
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -50,6 +50,7 @@ jobs:
|
|||||||
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC' >> ~/.gradle/gradle.properties
|
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC' >> ~/.gradle/gradle.properties
|
||||||
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
|
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
|
||||||
# build dependencies
|
# build dependencies
|
||||||
|
sed -i 's/VERSION_21/VERSION_17/g' libxposed/api/checks/build.gradle.kts
|
||||||
cd libxposed/api && ./gradlew publishToMavenLocal && cd ../..
|
cd libxposed/api && ./gradlew publishToMavenLocal && cd ../..
|
||||||
# build DisableFlagSecure
|
# build DisableFlagSecure
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
|
@ -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 {
|
||||||
|
}
|
@ -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 {
|
||||||
|
}
|
@ -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 {
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user