summaryrefslogtreecommitdiff
path: root/src/android/net/util/Stopwatch.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/net/util/Stopwatch.java')
-rw-r--r--src/android/net/util/Stopwatch.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/net/util/Stopwatch.java b/src/android/net/util/Stopwatch.java
index 33653dd..88e523e 100644
--- a/src/android/net/util/Stopwatch.java
+++ b/src/android/net/util/Stopwatch.java
@@ -49,10 +49,11 @@ public class Stopwatch {
}
/**
- * Retart the Stopwatch.
+ * Restart the Stopwatch.
*/
public Stopwatch restart() {
mStartTimeNs = SystemClock.elapsedRealtimeNanos();
+ mStopTimeNs = 0;
return this;
}