Skip to content

Resolve selected packages without launcher activities in split VPN - #164

Merged
andre487 merged 3 commits into
mainfrom
fix/split-package-visibility
Nov 22, 2026
Merged

andre487 merged 3 commits into
mainfrom
fix/split-package-visibility

Conversation

@andre487

@andre487 andre487 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

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.

@andre487
andre487 merged commit 6813073 into main Nov 22, 2026
24 of 27 checks passed
@andre487
andre487 deleted the fix/split-package-visibility branch November 22, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant