Repository navigation
Resolve selected packages without launcher activities in split VPN - #164
Merged
Merged
Conversation
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.
On Android 11 and later, a selected package without a launcher activity can be hidden from PackageManager. The VPN builder routes that UID into the tunnel, but Standard and Strict reject its connections when the package is missing from the resolved UID set.
The manifest now declares package visibility for runtime selections, with a lint exception scoped to that permission. The privacy policy explains the local lookup. An API 35 regression exercises a separate headless UID against the private echo origin under Standard and Strict and checks that the excluded UID loses access while the VPN remains connected.
The API 26 CI preflight also allows time for the next Wi-Fi scan after an empty boot scan. The validated default-network requirement still applies, and the runner never retries a failed test.
Verified with the locally signed x86_64 APK on API 26 and 35. On API 35, the same helper UID failed on the previous signed APK, succeeded under Standard and Strict after upgrade, lost access when excluded, and succeeded when reselected. On API 26, an in-place upgrade from published v1.4.0 preserved the active profile and forwarding across reconnect.