Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the libxposed service/interface libraries to API 102, adding support for querying running hooked targets and requesting hot reload, and adjusts the build/publishing setup to support snapshot dependencies and Sonatype snapshot publishing.
Changes:
- Introduce API 102 surface area:
getRunningTargets()+hotReloadModule(...)with new AIDL types and Java wrappers. - Add new public model types (
HookedTarget,HotReloadResult) and wire them intoXposedService. - Update Gradle/CI publishing plumbing (snapshot repos, versioning, wrapper, workflows) to publish releases and snapshots.
Reviewed changes
Copilot reviewed 16 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
settings.gradle.kts |
Adds mavenLocal and Sonatype snapshots repo (scoped to io.github.libxposed). |
service/src/main/java/io/github/libxposed/service/XposedService.java |
Adds API 101/102 constants, hot reload + running targets APIs, and callback plumbing. |
service/src/main/java/io/github/libxposed/service/HotReloadResult.java |
Adds hot reload result record + status mapping from raw service codes. |
service/src/main/java/io/github/libxposed/service/HookedTarget.java |
Adds a public snapshot handle representing a hooked running target. |
service/proguard-rules.pro |
Adds consumer Proguard rule to suppress missing annotation warnings. |
service/build.gradle.kts |
Bumps SDK/tools, adds consumer Proguard, adds annotation/lint deps, snapshot publish support. |
interface/src/main/aidl/io/github/libxposed/service/IXposedService.aidl |
Bumps LIB_API to 102, adds properties + hot reload constants and new RPCs. |
interface/src/main/aidl/io/github/libxposed/service/IHotReloadCallback.aidl |
Adds async callback interface for hot reload completion. |
interface/src/main/aidl/io/github/libxposed/service/HookedProcess.aidl |
Adds parcelable describing hooked processes returned by the framework. |
interface/build.gradle.kts |
Bumps SDK/tools and adds snapshot publish versioning. |
gradlew.bat |
Updates Windows wrapper script template (SPDX + behavioral changes). |
gradlew |
Updates Unix wrapper script template (SPDX + switch to -jar invocation). |
gradle/wrapper/gradle-wrapper.properties |
Bumps Gradle wrapper distribution version. |
gradle/libs.versions.toml |
Updates AGP/Dokka versions and adds version entries for libxposed annotation/lint. |
build.gradle.kts |
Adds optional dependencySnapshot behavior to disable changing-module caching. |
.github/workflows/snapshot.yml |
Adds workflow to publish Sonatype snapshots with selectable module publishing. |
.github/workflows/deploy.yml |
Adjusts Central deploy workflow to allow selecting which module to publish. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+12
to
+14
| mavenLocal { | ||
| content { | ||
| includeGroup("io.github.libxposed") |
Comment on lines
69
to
71
| private static final Map<OnScopeEventListener, IXposedScopeCallback> scopeCallbacks = new ConcurrentHashMap<>(); | ||
| private static final Set<IHotReloadCallback> hotReloadCallbacks = ConcurrentHashMap.newKeySet(); | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See libxposed/api#62