feat: add separate home screen shortcuts for VPN enable / disable#1109
Merged
arm64v8a merged 1 commit intoMatsuriDayo:refactor-start-stopfrom Feb 2, 2026
Merged
Conversation
Contributor
|
I may be planning to refactor this part of the design, so I'll merge it into a separate branch for review later. |
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.
Description
This PR adds two new home screen shortcuts:
Previously there was only a toggle shortcut, which is not suitable for automation because the current VPN state must be known in advance.
With these separate shortcuts it becomes possible to reliably integrate NekoBoxForAndroid with automation tools such as Tasker, MacroDroid, Automate, or OEM automation systems (e.g. Samsung Modes & Routines).
Implementation details
No existing behavior is changed; the original toggle shortcut remains available.
Testing
Tested on Samsung Galaxy S25 Ultra with Samsung Modes & Routines automation
For convenience, a test build from this fork is available here (self-signed, for testing only):
https://github.com/Slava-Shchipunov/NekoBoxForAndroid/releases/tag/1.4.1-20260115