Refine service_running string

This commit is contained in:
Mygod
2015-11-24 19:28:31 +08:00
parent 5e0d52324b
commit 9fa57dfe4b
3 changed files with 3 additions and 3 deletions
@@ -31,7 +31,7 @@ class ShadowsocksNotification(private val service: BaseService, profileName: Str
.setWhen(0)
.setColor(ContextCompat.getColor(service, R.color.material_accent_500))
.setTicker(service.getString(R.string.forward_success))
.setContentTitle(service.getString(R.string.app_name) + ": " + profileName)
.setContentTitle(service.getString(R.string.service_running).formatLocal(Locale.ENGLISH, profileName))
.setContentIntent(PendingIntent.getActivity(service, 0, new Intent(service, classOf[Shadowsocks])
.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT), 0))
.setSmallIcon(R.drawable.ic_stat_shadowsocks)