Skip to content

Commit

Permalink
Use constant for heart rate sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Oct 7, 2014
1 parent 9d80f63 commit f944cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/XSensorManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ else if (type == Sensor.TYPE_ACCELEROMETER || type == Sensor.TYPE_LINEAR_ACCELER
} else if (type == Sensor.TYPE_STEP_COUNTER || type == Sensor.TYPE_STEP_DETECTOR) {
if (isRestricted(param, "step"))
return true;
} else if (type == 21) { // TODO: replace by TYPE_HEART_RATE
} else if (type == Sensor.TYPE_HEART_RATE) {
if (isRestricted(param, "heartrate"))
return true;
} else
Expand Down

0 comments on commit f944cac

Please sign in to comment.