summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Anthony Stange <stange@google.com> 2023-02-21 17:57:38 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-02-22 23:27:51 +0000
commitbe6b8a58e6472e1af0acb59fc4e6e795a3a4c125 (patch)
tree20f2cada04a6f4b5a7bfa59feee49c42dcfb0342 /libs/gui/LayerState.cpp
parent93a74aaca9b6edcd7cead607a515c111d616870f (diff)
Add removeInstanceForPackageMethod to SensorManager
In order to ensure that clients don't leak their sensor manager instance that we currently store in a static map, they need to be able to remove their instance. Otherwise, this instance is never removed from the list and will hang around until our SensorManage instance is destroyed. Bug: 269014004 Test: Run ./libsensorserviceaidl_fuzzer Change-Id: I52185f74ae8d28b379440235ca6f03c5089081f5 (cherry picked from commit 9532f7c682fdd4b1e6e553cd6f61fc0cf2555902) Merged-In: I52185f74ae8d28b379440235ca6f03c5089081f5
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions