commit | 122df868919f3e2b9a92d6e9dc66808884f3f080 | [log] [tgz] |
---|---|---|
author | Dan Gittik <dangittik@google.com> | Wed Mar 28 16:59:22 2018 +0100 |
committer | Dan Gittik <dangittik@google.com> | Fri Apr 06 17:04:45 2018 +0100 |
tree | 40d3084241885a2473d23b3bb74fc51ff5eab9b7 | |
parent | b175d0db8f2cf175a6eaa9cd29a7105ab3371729 [diff] |
Added system-wide minimum brightness curve. The minimum brightness curve guarantess that any brightness curve that dips below it is rejected by the system. This prevent auto-brightness from setting the screen so dark as to prevent the user from resetting or disabling it, and maps lux to the absolute minimum nits that are still readable in that ambient brightness. Test: atest BrightnessConfigurationTest. Fixes: 77176207 Change-Id: Ibd1e83e9b147f3849d6c907f828cbe5950c8367f