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

Skip to content
Commit f4668f90 authored by Evan Severson's avatar Evan Severson
Browse files

Convert ns to ms when averaging light values

It was wrongly assumed that SensorEvent#timestamp was in milliseconds
when it is actually in nanoseconds; this change converts the units to
milliseconds.

Fixes: 243696673
Test: Cover ALS and observe led brightness change
Change-Id: Ib45429d28be1f03c4741639fd12e6fbcdd541802
parent f4ceebba
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