Commit 0503eeac authored by Mygod's avatar Mygod

Refine onServiceDisconnected

parent 1d295b28
......@@ -17,10 +17,7 @@ trait ServiceBoundContext extends Context {
ServiceBoundContext.this.onServiceConnected()
}
override def onServiceDisconnected(name: ComponentName) {
if (callback != null) {
unregisterCallback
callback = null
}
ServiceBoundContext.this.onServiceDisconnected()
bgService = null
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment