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

Commit a2d918fc authored by Ryan Zuklie's avatar Ryan Zuklie
Browse files

Fix WakelockTracer clock mis-match.

Both events and write should use elapsedRealtimeNanos (nanos since boot
including time suspended). To help with this, I've moved both into the
tracer class (it had been in Notifier to allow grabbing the time before
posting to the handler, but that's no longer the case).

Bug: 422797438
Test: atest PowerServiceTests
Flag: com.android.server.power.feature.flags.enable_app_wakelock_data_source
Change-Id: I611dfe304ce14ada4f1e77358829e3620c2d6ffa
parent b94ffc19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment