Persist package names in individual/proxied

This commit is contained in:
Mygod
2015-12-06 21:20:30 +08:00
parent 93084f0ed0
commit ad831aa1f4
5 changed files with 62 additions and 38 deletions
@@ -388,7 +388,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
if (Utils.isLollipopOrAbove) {
if (config.isProxyApps) {
for (pkg <- config.proxiedAppString.split('|').distinct) {
for (pkg <- config.proxiedAppString.split('\n')) {
if (!config.isBypassApps) {
builder.addAllowedApplication(pkg)
} else {