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
Loading
Please register or sign in to comment