diff options
author | Chris Kuiper <ckuiper@google.com> | 2021-10-12 16:30:01 -0700 |
---|---|---|
committer | Chris Kuiper <ckuiper@google.com> | 2021-10-14 14:02:23 -0700 |
commit | df11ff29247cf049d26bcc09368d1e899705ba80 (patch) | |
tree | d1ebd8211bb6fc628cea18efe8ac2aa0a32c4b3d /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 41b552872df5a10a996340b0faa13ccceedb5f14 (diff) |
sensorservice: Refactor tracking logic for the Proximity sensor.
This simplifies the code that tracks if the proximity sensor is
active by removing all counting of clients and simply checking the
sensor's isSensorActive() method and reporting changes to it.
Bug: b/202328704
Tests: See b/202328704#comment9 for tests done.
Change-Id: Idd72b82ed0fd5ee089e795ab4b233241350979c2
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions