summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author xiamengsen <xms1714483165@gmail.com> 2021-02-05 15:35:34 +0800
committer Arthur Ishiguro <arthuri@google.com> 2021-03-11 17:43:04 +0000
commit94ae13178781a14867071636fded56c907a9db8b (patch)
tree63ec35d2cbb63851d62cd9d58368ae35e6ec99ae /vulkan/libvulkan/api.cpp
parent73ab3a30ac6a1dd63f9257a091546f10cfa51811 (diff)
Fix sensor activate after SensorEventConnection removed
When app idle and register a sensor on existing connection,the method sensor.batch() retrun NO_ERROR but sensor.activate() return INVALID_OPERATION. The sensor will remove from the connecion but unable to remove from the batchParams,this make the sensor active after the app killed. As the client is disabled, keep the sensor in the connection for resume. Bug: 180825144 Test: Debug app in 180825144 Signed-off-by: xiamengsen <xiamengsen@xiaomi.com> Change-Id: Icc22862d1a083abba08fb2cbcabd043444b7090f
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions