1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05: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();
if (binder != null && binder.getService() != null) {
binder.getService().checkServiceStatus();
}
/*if (!binder.getService().hasConnections()) {
Log.d("Yaaic", "Stopping service");