show profile name on notification bar

This commit is contained in:
Max Lv
2013-10-16 10:35:11 +08:00
parent 74bbddbe35
commit 3f916e5701
3 changed files with 3 additions and 3 deletions
@@ -256,7 +256,7 @@ class ShadowsocksService extends Service {
if (resolved && handleConnection) {
notifyForegroundAlert(getString(R.string.forward_success),
getString(R.string.service_running))
getString(R.string.service_running).format(config.profileName))
handler.sendEmptyMessageDelayed(MSG_CONNECT_SUCCESS, 500)
} else {
notifyAlert(getString(R.string.forward_fail), getString(R.string.service_failed))