refine fake proc name

This commit is contained in:
Max Lv
2014-11-25 19:11:18 +08:00
parent a1bdfa5bd9
commit d844fc2457
2 changed files with 17 additions and 4 deletions
@@ -320,6 +320,10 @@ 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);