enable acl on devices before 5.0

This commit is contained in:
Max Lv
2015-07-26 09:10:17 +08:00
parent 8d02a1a6a4
commit cbd46d0c95
2 changed files with 2 additions and 2 deletions
@@ -281,7 +281,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
def startShadowsocksDaemon() {
if (Utils.isLollipopOrAbove && config.route != Route.ALL) {
if (config.route != Route.ALL) {
val acl: Array[String] = config.route match {
case Route.BYPASS_LAN => getResources.getStringArray(R.array.private_route)
case Route.BYPASS_CHN => getResources.getStringArray(R.array.chn_route_full)