Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7877f83 authored by Yipeng Cao's avatar Yipeng Cao Committed by android-build-merger
Browse files

Merge "Revert the system clock in the debug oc-dev" into oc-dev am: 4229cb80

am: 98af818d

Change-Id: Id7aacffd3fa48d76003840fff8f4d48197eae936
parents f685344b 98af818d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -943,9 +943,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