summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Rocky Fang <rockyfang@google.com> 2024-05-20 21:01:21 +0000
committer Rocky Fang <rockyfang@google.com> 2024-05-20 21:41:16 +0000
commit65beac9b0ad0d6c73ca5a7a367a30e1d33818c99 (patch)
tree0087eae1317b460940105b119d96495e42566eb8 /libs/gui/LayerState.cpp
parent7b3c2125967eaba25a92511f90c1fdec522a62bf (diff)
Release dynamic sensor data at the end of process
This makes sure that sensor service has full control of the life time of the dynamic sensor data, and will not be affected by when the callback is invoked. Fixes: 329020894 Fixes: 337741176 Test: Connect a dynamic sensor to phone, rapidly turn on/off bluetooth to emulate fast connection/disconnection of dynamic sensor. Not seeing crash anymore Change-Id: I6c9b4fa06e08dc1bb0b5e578ee2ec10b95fe84c3
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions