mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-10 05:08:18 -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();
|
super.onPause();
|
||||||
|
|
||||||
|
if (binder != null && binder.getService() != null) {
|
||||||
|
binder.getService().checkServiceStatus();
|
||||||
|
}
|
||||||
|
|
||||||
unbindService(this);
|
unbindService(this);
|
||||||
unregisterReceiver(receiver);
|
unregisterReceiver(receiver);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user