bump version

This commit is contained in:
Max Lv
2014-02-10 09:43:45 +08:00
parent 0b8114ad27
commit a3f444033f
10 changed files with 18 additions and 15 deletions
@@ -610,8 +610,10 @@ class Shadowsocks
if (bgService == null) {
val isRoot = status.getBoolean(Key.isRoot, false)
val s = if (isRoot) classOf[ShadowsocksNatService] else classOf[ShadowsocksVpnService]
bindService(new Intent(s.getName), connection, Context.BIND_AUTO_CREATE)
startService(new Intent(Shadowsocks.this, s))
val intent = new Intent(this, s)
intent.setAction(Action.SERVICE)
bindService(intent, connection, Context.BIND_AUTO_CREATE)
startService(new Intent(this, s))
}
}