Please answer the following questions for yourself before submitting an issue.
AdGuard VPN version
2.16
Operating mode
VPN
Which DNS server do you use?
None
DNS protocol
None
Custom DNS
No response
Environment
- OS: Android 11
- Device: Realme 8i
Root access
Issue Details
Steps to reproduce:
- Copy the default Excluded apps list to another app and save it as a file
- Edit the saved list in another app, and copy the content afterwards
- Paste the content into the edit
Excluded apps
- Click
Save
Expected Behavior
The entries for the apps you had added should not use VPN.
Actual Behavior
New lines characters seem to be lost, so everything after the first // is ignored, and the added apps may still use VPN.
Screenshots
Screenshot 1
Additional Information
Here is how the list is stored in the preferences (exported):
<string name="packages_and_uids_exclusions">com.vivaldi.browser // Disable for "radio": https://github.com/AdguardTeam/AdguardForAndroid/issues/1058 1001 // Disable for "system": https://github.com/AdguardTeam/AdguardForAndroid/issues/2550 1000 // Disable Downloads Manager https://github.com/AdguardTeam/AdguardForAndroid/issues/3355 com.android.providers.downloads com.android.providers.downloads.ui // Realme devices have their own Download Manager https://github.com/AdguardTeam/AdGuardVPNForAndroid/issues/95 com.coloros.providers.downloads.ui // Disable for Android Auto https://github.com/AdguardTeam/AdGuardVPNForAndroid/issues/551 com.google.android.projection.gearhead //////////////////////////////////</string>
The first entry com.vivaldi.browser was added directly in the edit box (so the new line is preserved), the rest was copied from another app (X-plore) to imitate editing the list in another app.
Here is the log fragment:
...
15:47:22.158 [threadmanager-multiple-pool-8-thread-2-2851] ⬜ INFO VpnServiceExt — Excluding app from VPN: name=com.adguard.vpn; uid=10242
15:47:22.160 [threadmanager-multiple-pool-8-thread-2-2851] ⬜ INFO VpnServiceExt — Excluding app from VPN: name=com.vivaldi.browser; uid=10252
15:47:22.161 [threadmanager-multiple-pool-8-thread-2-2851] ⬜ INFO VpnServiceExt — Excluding special app from VPN: name=com.utorrent.client
15:47:22.162 [threadmanager-multiple-pool-8-thread-2-2851] ⬜ INFO VpnServiceExt — Excluding special app from VPN: name=com.utorrent.client.pro
...
Please answer the following questions for yourself before submitting an issue.
AdGuard VPN version
2.16
Operating mode
VPN
Which DNS server do you use?
None
DNS protocol
None
Custom DNS
No response
Environment
Root access
Issue Details
Steps to reproduce:
Excluded appsSaveExpected Behavior
The entries for the apps you had added should not use VPN.
Actual Behavior
New lines characters seem to be lost, so everything after the first
//is ignored, and the added apps may still use VPN.Screenshots
Screenshot 1
Additional Information
Here is how the list is stored in the preferences (exported):
The first entry
com.vivaldi.browserwas added directly in the edit box (so the new line is preserved), the rest was copied from another app (X-plore) to imitate editing the list in another app.Here is the log fragment: