diff options
| author | 2022-03-07 09:28:32 -0800 | |
|---|---|---|
| committer | 2022-05-11 21:10:55 +0000 | |
| commit | 66149737791ec5dd10f00ee3a0c83b7951ef57b2 (patch) | |
| tree | 13cc331e2c7585271ded47addb4a5ba54e03dff4 /libs/androidfw/StringPool.cpp | |
| parent | 5815b8820e4372536a6cd9dbfb01522f5b13d5a0 (diff) | |
Use ambient light sensor to adjust camera privacy light brightness
If there is a light sensor available at boot then we will watch for
changing values and compute the integral of the values over the past
specified interval. Light sensor values are transformed with a logorithm
since it was observed that values increase very quickly with addition of
artificial light although as a human it feels that brightness is
increasing linearly (some light research tells this is called
Fechner's law)
Bug: 216107392
Test: CameraPrivacyLightControlllerTest
Change-Id: I94742d099d6a5d074173a21e629a3044f0a10c9a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions