diff options
| author | Lucas Dupin <dupin@google.com> | 2019-08-12 14:14:08 -0700 |
|---|---|---|
| committer | Lucas Dupin <dupin@google.com> | 2019-08-12 14:29:50 -0700 |
| commit | cf06eb3a92d3ac66f928810e46e13cc6a6fe9a4c (patch) | |
| tree | 7c80d2b9b69e50a4f724980acad57739913ba6f2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 82aec2e913bf6b0df7f5dbf40ffca6e054ee1317 (diff) | |
Fix sensor triggering issue
Code duplication was causing the wrong sensor to be re-registered,
also, binned brightness isn't a drop-in replacement for proximity
as expected.
Brightness can be low when prox is not covered, the correct behavior
is to verify if brightness is not 0
Test: manual, covering sensor
Test: atest DozeSensorsTest
Fixes: 139298207
Change-Id: I8673e7d9bcb56d7a34741cfad35cf397d976c18d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
