Commit f5393642 authored by Max Lv's avatar Max Lv

Fix #951

parent 5ef2849c
...@@ -332,7 +332,8 @@ class ShadowsocksNatService extends BaseService { ...@@ -332,7 +332,8 @@ class ShadowsocksNatService extends BaseService {
handleConnection() handleConnection()
AclSyncJob.schedule(profile.route) if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
changeState(State.CONNECTED) changeState(State.CONNECTED)
notification = new ShadowsocksNotification(this, profile.name, true) notification = new ShadowsocksNotification(this, profile.name, true)
......
...@@ -164,7 +164,8 @@ class ShadowsocksVpnService extends VpnService with BaseService { ...@@ -164,7 +164,8 @@ class ShadowsocksVpnService extends VpnService with BaseService {
handleConnection() handleConnection()
changeState(State.CONNECTED) changeState(State.CONNECTED)
AclSyncJob.schedule(profile.route) if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
notification = new ShadowsocksNotification(this, profile.name) notification = new ShadowsocksNotification(this, profile.name)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment