This commit is contained in:
Max Lv
2013-09-29 17:27:45 +08:00
parent 58dc3e5061
commit 1155c7317a
4 changed files with 1 additions and 13 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -574,6 +574,7 @@ class Shadowsocks
Shadowsocks.currentProfile = profileManager.reload(id)
updatePreferenceScreen()
menuAdapter.setActiveId(id)
menuAdapter.notifyDataSetChanged()
}
}, 600)
@@ -637,19 +638,6 @@ class Shadowsocks
buf.toList
}
override def onKeyDown(keyCode: Int, event: KeyEvent): Boolean = {
if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount == 0) {
try {
finish()
} catch {
case ignore: Exception => {
}
}
return true
}
super.onKeyDown(keyCode, event)
}
override def onOptionsItemSelected(item: MenuItem): Boolean = {
item.getItemId match {
case android.R.id.home => {