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

Commit 81ef769a authored by Vlad Popa's avatar Vlad Popa
Browse files

CSD: timestamp should be in seconds

Issue popped out when executing GTS tests.

Test: SoundDoseInteractiveTest
Bug: 248566547
Change-Id: I33fe113138e0d81e0ec6fec3e9f72fbc5eb4788d
parent 50ed6f3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }