fix(app): align Android VPN runtime integration #12

Closed
Naveax wants to merge 3 commits from pr/align-android-vpn-runtime into main
pull from: pr/align-android-vpn-runtime
Naveax commented 2026-09-04 00:17:23 +03:00 (Migrated from github.com)

Summary

Align the Android application process with the native VPN service as the authoritative runtime owner.

The app process should not recreate unscoped VPN control actions or duplicate runtime state that belongs to the native service.

Changes

  • Remove the obsolete exact-alarm permission
  • Remove UI-process session-expiry forwarding
  • Remove duplicate VPN runtime-alive probing
  • Reuse the native service-owned Disconnect action
  • Keep Disconnect scoped to the active runtime generation
  • Align the notification channel with the VPN service
  • Retry notification text updates when a native update fails

This reduces duplicate runtime ownership between the Flutter app process and the native VPN service.

## Summary Align the Android application process with the native VPN service as the authoritative runtime owner. The app process should not recreate unscoped VPN control actions or duplicate runtime state that belongs to the native service. ## Changes - Remove the obsolete exact-alarm permission - Remove UI-process session-expiry forwarding - Remove duplicate VPN runtime-alive probing - Reuse the native service-owned Disconnect action - Keep Disconnect scoped to the active runtime generation - Align the notification channel with the VPN service - Retry notification text updates when a native update fails This reduces duplicate runtime ownership between the Flutter app process and the native VPN service.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.