Skip to content

Commit

Permalink
Added running activity to detected activity to sting mapper. Fixes mc…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcharmas committed May 10, 2016
1 parent 2197126 commit a4e8df1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public String call(DetectedActivity detectedActivity) {

private String getNameFromType(int activityType) {
switch (activityType) {
case DetectedActivity.RUNNING:
return "running";
case DetectedActivity.IN_VEHICLE:
return "in_vehicle";
case DetectedActivity.ON_BICYCLE:
Expand Down

0 comments on commit a4e8df1

Please sign in to comment.