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

Skip to content
Commit 64fc30f1 authored by Ben Miles's avatar Ben Miles
Browse files

Fix Process-Runtime field in crash dropbox headers

It was subtracting SystemClock.uptimeMillis() from a SystemClock.elapsedRealtime(), one of which includes time spent in deep sleep and one doesn't.

This changes the logic to use uptime for both, so the Process-Runtime will be the equal to the millis since boot not including time spent in deep sleep.

Fixes: 217357881
Test: atest FrameworksServicesTests:ActivityManagerTest
Change-Id: I3931a1df6f81992dea3c61cfb05094281cc3d605
parent 2b310720
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment