-
-
Notifications
You must be signed in to change notification settings - Fork 3k
manager: add support for opening and flashing zip files directly #2967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for opening ZIP module files directly with the KernelSU manager application by registering an intent filter and implementing automatic navigation to the flash screen when a ZIP file is opened.
- Registers an intent filter in AndroidManifest.xml to handle ZIP file VIEW intents with content scheme
- Implements automatic navigation to FlashScreen in MainActivity when a ZIP file intent is detected
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| manager/app/src/main/AndroidManifest.xml | Adds intent filter to MainActivity for handling ZIP files with VIEW action, content scheme, and application/zip MIME type |
| manager/app/src/main/java/me/weishu/kernelsu/ui/MainActivity.kt | Adds LaunchedEffect to detect ZIP file intents and navigate to FlashScreen with the file URI when isManager is true |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
manager/app/src/main/java/me/weishu/kernelsu/ui/MainActivity.kt
Outdated
Show resolved
Hide resolved
manager/app/src/main/java/me/weishu/kernelsu/ui/MainActivity.kt
Outdated
Show resolved
Hide resolved
1d630ea to
01e8621
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
manager/app/src/main/java/me/weishu/kernelsu/ui/MainActivity.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
…ine manifest intent filter.
…nn#2967) Co-authored-by: sakana164 <[email protected]> Signed-off-by: u9521 <[email protected]>
…nn#2967) Co-authored-by: sakana164 <[email protected]> Signed-off-by: u9521 <[email protected]>
…nn#2967) Co-authored-by: sakana164 <[email protected]> Signed-off-by: u9521 <[email protected]>
Signed-off-by: sakana164 [[email protected]]