summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Brian Duddie <bduddie@google.com> 2021-12-21 10:44:55 -0800
committer Brian Duddie <bduddie@google.com> 2022-05-06 00:31:52 +0000
commit7be8557f40816300f1eab7ddb069529e0a86c845 (patch)
tree667491b95c9a5016e95c10b1ca1997b836e2ba10 /libs/input/KeyLayoutMap.cpp
parent24f2b4c066fda9c5258f1aa8afa0ce7b688fa8f0 (diff)
Fix batterystats update on sensor connection cleanup
Previous code was stopping battery tracking for *all* sensors activated by the UID, rather than only the sensors activated in the SensorEventConnection being cleaned up, leading to under-counting of sensor activation time. Fixes: 210559152 Test: verify batterystats correctly updates when one connection is closed and another remains open Change-Id: Id6b96929c5534295334eeca3d56506d29bc75b29
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions