Skip to content
Commit 637f8be6 authored by Kenny Guy's avatar Kenny Guy
Browse files

Avoid null pointer when in getAmbientBrightnessStats

Check whether the tracker has been started before
trying to return stats.
Add unit test to check empty lists are returned
rather than null.

Bug: 76008231
Test: atest BrightnessTrackerTest
Change-Id: Icc7ef0ee43a95eb182cb1b0b9452f122363e67ba
parent 07a75e0f
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