fix several bugs

This commit is contained in:
Max Lv
2013-05-08 14:17:47 +08:00
parent 8933732ed7
commit 24bb20068b
5 changed files with 72 additions and 42 deletions
@@ -90,11 +90,8 @@ class ShadowsocksReceiver extends BroadcastReceiver {
if (ShadowsocksService.isServiceStarted) return
val it: Intent = new Intent(context, classOf[ShadowsocksService])
context.startService(it)
} else {
if (ShadowVpnService.isServiceStarted) return
val it: Intent = new Intent(context, classOf[ShadowVpnService])
context.startService(it)
}
}
}
}