Remove unnecessary call to linkToDeath

This commit is contained in:
Mygod
2017-12-17 01:36:20 -08:00
parent 5c252a2895
commit 1bea09c5c6
2 changed files with 4 additions and 2 deletions
@@ -224,6 +224,7 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Interface, Drawe
}
}
override val listenForDeath: Boolean get() = true
override fun onServiceConnected(service: IShadowsocksService) = changeState(service.state)
override fun onServiceDisconnected() = changeState(BaseService.IDLE)
override fun binderDied() {