1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

ServersActivity: call checkServiceStatus() in onPause()

This commit is contained in:
Sebastian Kaspari 2010-04-17 23:35:20 +02:00
parent 7e8fc26791
commit 215a7bb062

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);
}