Closed rodrigojmlourenco closed 8 years ago
Apparently there was no bug, and the activities were already being monitored.
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
.
After some analysis, it was noticed that despite the activity tracking being initiated, it is not being performed.