mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 23:10:11 -05:00
ConversationActivity: onPause(): Prevent null pointer exception
This commit is contained in:
parent
4072ee6c5f
commit
c7d891e917
@ -169,7 +169,9 @@ public class ConversationActivity extends Activity implements ServiceConnection,
|
|||||||
{
|
{
|
||||||
super.onPause();
|
super.onPause();
|
||||||
|
|
||||||
binder.getService().checkServiceStatus();
|
if (binder != null && binder.getService() != null) {
|
||||||
|
binder.getService().checkServiceStatus();
|
||||||
|
}
|
||||||
|
|
||||||
/*if (!binder.getService().hasConnections()) {
|
/*if (!binder.getService().hasConnections()) {
|
||||||
Log.d("Yaaic", "Stopping service");
|
Log.d("Yaaic", "Stopping service");
|
||||||
|
Loading…
Reference in New Issue
Block a user