Skip to content

[BUG] Android 永遠開啟 VPN 在重新開機後無法恢復服務 #119

Description

@SingLinkNetwork

來源:上游 #1616。

已確認的現行設計缺口:

  • Android VPN 的啟動選項只在遠端程序的 State.options 記憶體變數中設定。
  • RemoteService 建立 VPN 時依賴這個記憶體選項;裝置重開機後遠端程序記憶體已清空。
  • Android 系統的「永遠開啟 VPN」可重新綁定/啟動 VPN service,但目前沒有從持久設定安全恢復所需選項的路徑。

驗收條件:

  1. 已啟動 VPN 並啟用 Android「永遠開啟 VPN」後,重開機、解鎖,VPN 可由系統恢復,無需先開啟 UI。
  2. 恢復路徑只使用安全持久化的最近有效設定;設定檔不存在、損毀或 VPN 權限撤銷時必須安全停止並記錄明確原因。
  3. Android 12、14、15/16 及至少一台 HyperOS 裝置驗收;涵蓋 always-on 和 lockdown。
  4. 不得破壞現有手動啟停、快速設定磁貼及 Android VPN 停止行為。

狀態:尚未修復。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions