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

Commit ed601b45 authored by Neil Fuller's avatar Neil Fuller
Browse files

Switch LocalLog to using UTC / elapsed realtime

LocaleTracker can affect the devices time time zone. Using "local time"
for log timestamps for a component that can influence the device's time
zone makes interpreting logs harder. This change switches the
LocaleTracker's LocalLog over to using UTC and elapsed realtime for log
entry timestamps (as used in other components that affect time zone).

Bug: 227047106
Test: Build only
Change-Id: If83250e514fef84f46d1c85ecb956a7da7626f47
parent fb329ef8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ public class LocaleTracker extends Handler {

    private boolean mIsTracking = false;

    private final LocalLog mLocalLog = new LocalLog(32);
    private final LocalLog mLocalLog = new LocalLog(32, false /* useLocalTimestamps */);

    /** Broadcast receiver to get SIM card state changed event */
    private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {