Add traffic to notification

This commit is contained in:
Mygod
2015-11-24 19:25:41 +08:00
parent 118aa1271c
commit 5e0d52324b
6 changed files with 37 additions and 23 deletions
@@ -453,8 +453,8 @@ class ShadowsocksNatService extends BaseService {
// Set DNS
flushDns()
notification = new ShadowsocksNotification(this, config.profileName, true)
changeState(State.CONNECTED)
notification = new ShadowsocksNotification(this, config.profileName, true)
} else {
changeState(State.STOPPED, getString(R.string.service_failed))
stopRunner()