Merge branch 'master' of github.com:shadowsocks/shadowsocks-android
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ cache:
|
||||
android:
|
||||
components:
|
||||
- tools
|
||||
- build-tools-25
|
||||
- android-25
|
||||
- build-tools-25.0.0
|
||||
- extra-android-m2repository
|
||||
- extra-google-m2repository
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user