summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Arthur Ishiguro <arthuri@google.com> 2020-06-01 16:15:19 -0700
committer Arthur Ishiguro <arthuri@google.com> 2020-06-01 16:23:40 -0700
commit3cc2c3593d49a15c9701fc42f32cff8d976e2369 (patch)
tree4140d34673785f0de0d78184f31f593e694042ab /libs/gui/SurfaceControl.cpp
parentb31d3c81e9061961c23c24b8f29a81d772b13d93 (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
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions