Skip to content

Android: add optional proxy autostart after boot - #97

Merged
Regstar2 merged 14 commits into
mainfrom
feat/issue-96-boot-autostart
Oct 7, 2026
Merged

Regstar2 merged 14 commits into
mainfrom
feat/issue-96-boot-autostart

Conversation

@Regstar2

@Regstar2 Regstar2 commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the code changes for #96 in an isolated branch.

  • adds an opt-in boot autostart preference, disabled by default;
  • registers a non-exported BOOT_COMPLETED receiver with RECEIVE_BOOT_COMPLETED;
  • reuses ProxyService.ACTION_START and the existing foreground notification path;
  • centralizes saved proxy startup configuration so the receiver and service use the same persisted source;
  • skips disabled, invalid SOCKS5, and already-running cases;
  • adds privacy-safe BOOT_* logging;
  • adds App settings UI plus RU/EN strings;
  • adds unit coverage and a reboot/device smoke checklist.

Validation

Automated CI should run on this PR. A physical/emulator reboot smoke remains required before merge because actual BOOT_COMPLETED delivery and foreground-service startup are platform/device behavior that unit tests cannot prove.

Refs #96

Issue #95 is intentionally untouched.

@Regstar2
Regstar2 marked this pull request as ready for review October 7, 2026 13:57
@Regstar2
Regstar2 merged commit 7d80de6 into main Oct 7, 2026
5 checks passed
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