commit | 3cc2c3593d49a15c9701fc42f32cff8d976e2369 | [log] [tgz] |
---|---|---|
author | Arthur Ishiguro <arthuri@google.com> | Mon Jun 01 16:15:19 2020 -0700 |
committer | Arthur Ishiguro <arthuri@google.com> | Mon Jun 01 16:23:40 2020 -0700 |
tree | 4140d34673785f0de0d78184f31f593e694042ab | |
parent | b31d3c81e9061961c23c24b8f29a81d772b13d93 [diff] |
Fix logical error in UID idle/active handling There is a bug where the sensor is not properly deactivated when ann app becomes idle. This CL fixes the issue, and also avoids calling batch() if no active clients exist. Bug: 157934995 Test: Flash, verify sensor is disabled when app goes idle and re-enabled when app becomes active again Change-Id: I403b02a20dc89c5ce0630de6ddfd6242bf38ec37