Merge "Revert the system clock in the debug oc-dev" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-22 10:36:34 +00:00
committed by Android (Google) Code Review

View File

@@ -937,9 +937,9 @@ public class GnssLocationProvider implements LocationProviderInterface {
long time = mNtpTime.getCachedNtpTime();
long timeReference = mNtpTime.getCachedNtpTimeReference();
long certainty = mNtpTime.getCacheCertainty();
long now = SystemClock.elapsedRealtime();
if (DEBUG) {
long now = System.currentTimeMillis();
Log.d(TAG, "NTP server returned: "
+ time + " (" + new Date(time)
+ ") reference: " + timeReference