mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
added a VisibleForTesting comment
This commit is contained in:
+1
@@ -84,6 +84,7 @@ public class SensorEventCounter {
|
||||
return getEventsPerMinute(newCounter, sensorTime, System.currentTimeMillis());
|
||||
}
|
||||
|
||||
// VisibleForTesting
|
||||
protected int getEventsPerMinute(int newCounter, int sensorTime, long now) {
|
||||
int counterChange = (newCounter - counter) & 0xFFFF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user