This commit is contained in:
Max Lv
2016-10-23 11:54:39 +08:00
parent 5ef2849c4a
commit f53936421d
2 changed files with 4 additions and 2 deletions
@@ -332,7 +332,8 @@ class ShadowsocksNatService extends BaseService {
handleConnection()
AclSyncJob.schedule(profile.route)
if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
changeState(State.CONNECTED)
notification = new ShadowsocksNotification(this, profile.name, true)
@@ -164,7 +164,8 @@ class ShadowsocksVpnService extends VpnService with BaseService {
handleConnection()
changeState(State.CONNECTED)
AclSyncJob.schedule(profile.route)
if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
notification = new ShadowsocksNotification(this, profile.name)
}