mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 20:58:02 -05:00
ServersActivity: call checkServiceStatus() in onPause()
This commit is contained in:
parent
7e8fc26791
commit
215a7bb062
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user