update buildconfig

This commit is contained in:
Max Lv
2013-06-19 10:28:57 +08:00
parent ba644cdf1f
commit d0ca6667f5
5 changed files with 11 additions and 21 deletions
@@ -142,7 +142,7 @@ class ShadowVpnService extends VpnService {
BASE +
"shadowsocks.pid")
.format(config.proxy, config.remotePort, config.localPort, config.sitekey, config.encMethod)
Log.d(TAG, cmd)
if (BuildConfig.DEBUG) Log.d(TAG, cmd)
System.exec(cmd)
}
}
@@ -310,7 +310,7 @@ class ShadowVpnService extends VpnService {
+ "--loglevel 3 "
+ "--pid %stun2socks.pid")
.format(localAddress.format("2"), localAddress.format("1"), config.localPort, fd, VPN_MTU, BASE)
Log.d(TAG, cmd)
if (BuildConfig.DEBUG) Log.d(TAG, cmd)
System.exec(cmd)
}