CSD: timestamp should be in seconds

Issue popped out when executing GTS tests.

Test: SoundDoseInteractiveTest
Bug: 248566547
Change-Id: I33fe113138e0d81e0ec6fec3e9f72fbc5eb4788d
This commit is contained in:
Vlad Popa
2023-03-22 00:56:46 +00:00
parent 50ed6f3e19
commit 81ef769ae5

View File

@@ -369,7 +369,7 @@ public class SoundDoseHelper {
if (mCurrentCsd > 0.0f) {
final SoundDoseRecord record = new SoundDoseRecord();
record.timestamp = SystemClock.elapsedRealtime();
record.timestamp = SystemClock.elapsedRealtime() / 1000;
record.value = csd;
mDoseRecords.add(record);
}