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

Commit b91d9333 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Fix the timestamp from notifier to WakelockLogs

Bug: 363945689
Flag: EXEMPT trivial fix
Test: Manual
Change-Id: Ic49bb7098cbfaafb052c2779400878bf3e9317b9
parent 79675a50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1064,9 +1064,9 @@ public class Notifier {
    private void notifyWakeLockListener(IWakeLockCallback callback, String tag, boolean isEnabled,
            int ownerUid, int ownerPid, int flags, WorkSource workSource, String packageName,
            String historyTag) {
        long currentTime = mInjector.currentTimeMillis();
        mHandler.post(() -> {
            if (mFlags.improveWakelockLatency()) {
                long currentTime = mInjector.currentTimeMillis();
                if (isEnabled) {
                    notifyWakelockAcquisition(tag, ownerUid, ownerPid, flags,
                            workSource, packageName, historyTag, currentTime);