update icon

This commit is contained in:
Max Lv
2013-11-02 20:52:51 +08:00
parent 29efd9be66
commit df48623ea3
15 changed files with 27 additions and 21 deletions
@@ -350,7 +350,7 @@ class ShadowVpnService extends VpnService {
.setSmallIcon(R.drawable.ic_stat_shadowsocks)
.setWhen(0)
.setTicker(title)
.setContentTitle(getString(R.string.app_name))
.setContentTitle(getString(R.string.screen_name))
.setContentText(info)
.setContentIntent(contentIntent)
.setAutoCancel(true)
@@ -658,13 +658,13 @@ class Shadowsocks
val buf = new ListBuffer[Any]()
buf += new Category("Profiles")
buf += new Category(getString(R.string.profiles))
buf ++= getProfileList
buf += new Item(-400, getString(R.string.add_profile), android.R.drawable.ic_menu_add, addProfile)
buf += new Category("Settings")
buf += new Category(getString(R.string.settings))
buf += new Item(-100, getString(R.string.recovery), android.R.drawable.ic_menu_revert, _ => {
EasyTracker.getInstance(this).send(
@@ -358,7 +358,7 @@ class ShadowsocksService extends Service {
builder
.setWhen(0)
.setTicker(title)
.setContentTitle(getString(R.string.app_name))
.setContentTitle(getString(R.string.screen_name))
.setContentText(info)
.setContentIntent(contentIntent)
.addAction(android.R.drawable.ic_menu_close_clear_cancel, getString(R.string.stop),
@@ -376,7 +376,7 @@ class ShadowsocksService extends Service {
.setSmallIcon(R.drawable.ic_stat_shadowsocks)
.setWhen(0)
.setTicker(title)
.setContentTitle(getString(R.string.app_name))
.setContentTitle(getString(R.string.screen_name))
.setContentText(info)
.setContentIntent(contentIntent)
.setAutoCancel(true)