This commit is contained in:
Peter Siegmund committed 2016-01-27 08:00:52 +01:00
1 parent 9b3a29c4b4
commit 0efee98f7a
1 file changed
-6
@@ -71,9 +71,6 @@ public abstract class SendingServiceAwareActivity extends ResilientActivity {
Intent intent = new Intent(this, MessageSendingService.class);
ExLog.i(this, TAG, "bindSendingService");
if (sendingService != null) {
sendingService.setMessageSendingServiceLogger(sendingServiceConnection);
}
bindService(intent, sendingServiceConnection, Context.BIND_AUTO_CREATE);
}
@@ -82,9 +79,6 @@ public abstract class SendingServiceAwareActivity extends ResilientActivity {
super.onStop();
ExLog.i(this, TAG, "unbindSendingService");
if (sendingService != null) {
sendingService.setMessageSendingServiceLogger(null);
}
unbindService(sendingServiceConnection);
boundSendingService = false;
}