rodrigojmlourenco / TrackerProto

Prototype for the TRACE Tracker App
0 stars 0 forks source link

@Tracker is not tracking activities #10

Closed rodrigojmlourenco closed 8 years ago

rodrigojmlourenco commented 8 years ago

After some analysis, it was noticed that despite the activity tracking being initiated, it is not being performed.

rodrigojmlourenco commented 8 years ago

Apparently there was no bug, and the activities were already being monitored.

rodrigojmlourenco commented 8 years ago

Apparently, there was actually a bug. While the ActivityRecognitionHandler was monitoring and broadcasting the activities. The TrackingService was registering TrackingEngine with the wrong action.

The action was corrected from ActivityConstants.COLLECT_ACTION to TrackingConstants.ActivityRecognition.COLLECT_ACTION, which corresponds to the one being broadcasted by the ActivityRecognitionHandler.