fake proc name failed on LRX21R

This commit is contained in:
Max Lv
2014-11-25 21:43:12 +08:00
parent d844fc2457
commit 185e7608ae
6 changed files with 134 additions and 20 deletions
@@ -320,13 +320,9 @@ class ShadowsocksVpnService extends VpnService with BaseService {
else
cmd += " --dnsgw %s:8153".format(PRIVATE_VLAN.format("1"))
if (Utils.isLollipopOrAbove) {
cmd += " --fake-proc";
}
if (BuildConfig.DEBUG) Log.d(TAG, cmd)
System.exec(cmd);
Tun2Socks.start(cmd.split(" "))
}
/** Called when the activity is first created. */