summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Anthony Stange <stange@google.com> 2023-02-21 17:57:38 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-03-28 18:43:58 +0000
commit455ada53fcc0d3d06671f41993c6fd6c33d5db02 (patch)
tree27029f26bebd016dcd3e7b76b82a5c1afb96b908 /libs/gui/LayerDebugInfo.cpp
parentedb3f8e57fc25d3b0abd8cfc601cea814e90fcce (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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9532f7c682fdd4b1e6e553cd6f61fc0cf2555902) Merged-In: I52185f74ae8d28b379440235ca6f03c5089081f5 Change-Id: I52185f74ae8d28b379440235ca6f03c5089081f5
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions