Support hot reload - #113
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds LibXposed hot-reload support to the DisableFlagSecure module, updating the module metadata and hook installation logic to survive code reloads while also modernizing the build/CI setup.
Changes:
- Enable module hot reload (API 102) via
module.propand implementonHotReloading/onHotReloadedwith hook IDs. - Update build tooling/dependencies (Gradle wrapper, AGP, compileSdk/targetSdk, libxposed API, annotations).
- Simplify GitHub Actions CI and add
.gitattributesfor consistent line endings.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| settings.gradle | Removes mavenLocal dependency resolution for io.github.libxposed. |
| gradlew.bat | Updates Windows Gradle wrapper script to newer template. |
| gradlew | Minor wrapper script header/link updates. |
| gradle/wrapper/gradle-wrapper.properties | Updates Gradle distribution and wrapper download retry settings. |
| build.gradle | Bumps Android Gradle Plugin version. |
| app/src/main/resources/META-INF/xposed/module.prop | Bumps target API and enables autoHotReload. |
| app/src/main/java/io/github/lsposed/disableflagsecure/DisableFlagSecure.java | Adds hot reload lifecycle handling and hook ID tracking. |
| app/build.gradle | Updates compile/target SDK and dependency versions (libxposed API 102). |
| .github/workflows/android.yml | Simplifies CI build and artifact upload steps; updates action versions. |
| .gitattributes | Adds text/binary attributes and enforces wrapper/script line endings. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
No description provided.