We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ccc7b98 + 5584b49 commit 257662eCopy full SHA for 257662e
location/java/android/location/Location.java
@@ -825,9 +825,8 @@ public String toString() {
825
if (mElapsedRealtimeNano == 0) {
826
s.append(" et=?!?");
827
} else {
828
- long age = SystemClock.elapsedRealtimeNano() - mElapsedRealtimeNano;
829
- s.append(" age=");
830
- TimeUtils.formatDuration(age / 1000000L, s);
+ s.append(" et=");
+ TimeUtils.formatDuration(mElapsedRealtimeNano / 1000000L, s);
831
}
832
if (mHasAltitude) s.append(" alt=").append(mAltitude);
833
if (mHasSpeed) s.append(" vel=").append(mSpeed);
0 commit comments