ServersActivity: call checkServiceStatus() in onPause()

This commit is contained in:
Sebastian Kaspari 2010-04-17 23:35:20 +02:00
parent 7e8fc26791
commit 215a7bb062
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
{
super.onPause();
if (binder != null && binder.getService() != null) {
binder.getService().checkServiceStatus();
}
unbindService(this);
unregisterReceiver(receiver);
}