Bug 828563 - Part 2: Use Location.getTime() instead of getElapsedRealtimeNanos(). a=bustage CLOSED TREE

--HG--
extra : amend_source : 85ba5aa824bed8f15b98537672eee1cccba44416
This commit is contained in:
Chris Peterson 2013-05-08 15:21:57 -07:00
Родитель 1bb5a25075
Коммит 5cc4f5e01e
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -413,9 +413,7 @@ public class GeckoAppShell
continue;
}
long timeDiff = location.getElapsedRealtimeNanos()
- lastKnownLocation.getElapsedRealtimeNanos();
long timeDiff = location.getTime() - lastKnownLocation.getTime();
if (timeDiff > 0 ||
(timeDiff == 0 &&
getLocationAccuracy(location) < getLocationAccuracy(lastKnownLocation))) {