Skip to content

Commit

Permalink
Merge branch 'MeasurementsCollectedBroadcasting'
Browse files Browse the repository at this point in the history
  • Loading branch information
zamojski committed May 7, 2016
2 parents 267f99f + e983037 commit a605f05
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ public void onDestroy() {
periodicalPhoneStateListener.cancel();
}
measurementParser.stop();
externalIntentBroadcaster.stop();
if (externalIntentBroadcaster != null) {
externalIntentBroadcaster.stop();
}
EventBus.getDefault().postSticky(new GpsStatusChangedEvent());
EventBus.getDefault().unregister(this);
if (stopRequestBroadcastReceiver != null)
Expand Down

0 comments on commit a605f05

Please sign in to comment.