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

ConversationActivity: onPause(): Prevent null pointer exception

This commit is contained in:
Sebastian Kaspari 2010-04-06 20:31:44 +02:00
parent 4072ee6c5f
commit c7d891e917

View File

@ -169,7 +169,9 @@ public class ConversationActivity extends Activity implements ServiceConnection,
{
super.onPause();
binder.getService().checkServiceStatus();
if (binder != null && binder.getService() != null) {
binder.getService().checkServiceStatus();
}
/*if (!binder.getService().hasConnections()) {
Log.d("Yaaic", "Stopping service");