Work Profile VPN Switcher
Automatically manage work profile when VPN connects or disconnects
新版本 1.2.1
* Reworked detection of manual work profile enabling for better device compatibility
* Notifications now follow the app language
* Fixed notification status: "VPN active" is shown even if the work profile is already off
* Message when automatic attempts to enable the work profile are exhausted
* Fixed a possible crash in the VPN app picker
* Log is saved immediately, max size limited to 1024 KB
* Better readability of VPN status in the dark theme
* Notifications now follow the app language
* Fixed notification status: "VPN active" is shown even if the work profile is already off
* Message when automatic attempts to enable the work profile are exhausted
* Fixed a possible crash in the VPN app picker
* Log is saved immediately, max size limited to 1024 KB
* Better readability of VPN status in the dark theme
App for automatically managing an Android work profile when a VPN connects.
Monitors VPN connections and automatically disables the work profile while a VPN is active, then restores its state after the VPN disconnects. Useful when the work profile contains apps that should not run through the VPN tunnel, or conversely, when work apps need to be isolated from VPN traffic.
Features:
* Automatic disabling of the work profile when VPN connects
* State restoration after VPN disconnects (optional)
* Tracking manual work profile activation while a VPN is active (optional) — choose whether to disable the profile again, or disable the VPN itself instead, keeping the profile enabled (dummy VPN, requires VPN connection permission)
* Allowlist mode — monitor only selected VPN apps
* Denylist mode — monitor all VPN connections except excluded apps (useful for AdGuard)
* Background polling — fallback VPN-detection mechanism
* Russian and English interface
Requirements:
* Android 11 (API 30) or higher
* A configured work profile (via Shelter or similar app)
* MODIFY_QUIET_MODE permission — granted manually via ADB:
adb shell pm grant io.github.snood21.workprofilevpnswitcher android.permission.MODIFY_QUIET_MODE
* For disabling VPN via the dummy VPN — VPN connection permission, requested through a system dialog when enabling that option
Note: the MODIFY_QUIET_MODE permission must be re-granted after a clean reinstall. It persists through regular updates.
If automatic profile disabling on VPN connect does not work, enable Background polling in Advanced settings. Also allow autostart and set battery mode to No restrictions in system settings.
Monitors VPN connections and automatically disables the work profile while a VPN is active, then restores its state after the VPN disconnects. Useful when the work profile contains apps that should not run through the VPN tunnel, or conversely, when work apps need to be isolated from VPN traffic.
Features:
* Automatic disabling of the work profile when VPN connects
* State restoration after VPN disconnects (optional)
* Tracking manual work profile activation while a VPN is active (optional) — choose whether to disable the profile again, or disable the VPN itself instead, keeping the profile enabled (dummy VPN, requires VPN connection permission)
* Allowlist mode — monitor only selected VPN apps
* Denylist mode — monitor all VPN connections except excluded apps (useful for AdGuard)
* Background polling — fallback VPN-detection mechanism
* Russian and English interface
Requirements:
* Android 11 (API 30) or higher
* A configured work profile (via Shelter or similar app)
* MODIFY_QUIET_MODE permission — granted manually via ADB:
adb shell pm grant io.github.snood21.workprofilevpnswitcher android.permission.MODIFY_QUIET_MODE
* For disabling VPN via the dummy VPN — VPN connection permission, requested through a system dialog when enabling that option
Note: the MODIFY_QUIET_MODE permission must be re-granted after a clean reinstall. It persists through regular updates.
If automatic profile disabling on VPN connect does not work, enable Background polling in Advanced settings. Also allow autostart and set battery mode to No restrictions in system settings.
- 作者: snood21
- 授權條款: Apache License 2.0
- 問題追蹤系統
- 原始碼
- 建置詮釋資料
- 可重現建置狀態
捐助
版本
雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。
下載 F-Droid-
此版本需要 Android 11 或更高的版本。
此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。
-
此版本需要 Android 11 或更高的版本。
此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。
-
此版本需要 Android 11 或更高的版本。
此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。
新版本 1.2.0
* New option — disable VPN on manual work profile activation (dummy VPN)
* Separate setting for tracking work profile activation
* Fixed a rare system crash on some devices when enabling the work profile
* More precise notification wording
* Separate setting for tracking work profile activation
* Fixed a rare system crash on some devices when enabling the work profile
* More precise notification wording
新版本 1.1.1
* Fixed VPN detection via NetworkCallback — removed the incorrect NET_CAPABILITY_NOT_VPN requirement
* Disabled automatic backup of application data
* Fixed enabling the work profile while the screen is locked — the user is notified, and the profile is automatically enabled upon the first unlock
* Minor fixes and stability improvements
* Disabled automatic backup of application data
* Fixed enabling the work profile while the screen is locked — the user is notified, and the profile is automatically enabled upon the first unlock
* Minor fixes and stability improvements





