Skip to content
Commit ea7040e3 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix potential overflow of launch event uptime

It was stored as integer for legacy MetricsLogger to log in seconds.
But since atom log uses it in milliseconds, it may be overflow if the
time is greater than 24 days. So now just store it in milliseconds
with long type and only covert to seconds for legacy logger.

Bug: 191610816
Test: atest ActivityMetricsLoggerTests

Change-Id: I3e40097fe7ce8e01d8495c1de2f1eafa855934a8
parent bdd8ff3f
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