summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-02-28 15:25:41 -0800
committer Siarhei Vishniakou <svv@google.com> 2020-03-02 20:42:08 +0000
commite3021d703130f9f28a94bef0e7179e75794a59cf (patch)
tree76e8376aeabeb154edbdbd3bc18dfc1bf1ebc568 /vulkan/libvulkan/api.cpp
parent7e221c91cd753edff6c59e61fea7619842a9addb (diff)
Remove device state when device is reset
When device reset is received in MotionClassifier, don't just set the classification for that device to 'none'. Instead, remove all state related to that device. This prevents growing indefinitely the unordered_maps that contain device-related state. Also, log the feature state to the InputClassifier dump. Bug: 150419367 Test: run several touch integration tests several times, and then do 'dumpsys input'. Ensure that the list doesn't grow as the tests are executed multiple times. Change-Id: I2e1ac359458a321f87e4599bb19350623afc9b2b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions