summaryrefslogtreecommitdiff
path: root/native/android/configuration.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-06-21 16:20:40 +0200
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-06-22 09:34:49 +0000
commitd560fba3ddb772b3fed5c942c958ba79e68c4afb (patch)
tree75401ed06b25dba4fb0575d1c9ddb9c97f0a02d3 /native/android/configuration.cpp
parentf96e49ede69f67ccf8fe6a75196992da8c74a04f (diff)
Fix memory leak of MediaControlPanel
MediaControlPanel instances were being leak through the ContentObserver registration. This fixes the leak by moving ContentObserver into owning singleton which then notifies active MediaControlPanel instances. Bug: 288244587 Test: updated unit tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d25127dd56075ea14e6ce76ee416fd96e317e988) Merged-In: Idb1f3a750e6e87c56c645f53ce678a62e7181f11 Change-Id: Idb1f3a750e6e87c56c645f53ce678a62e7181f11
Diffstat (limited to 'native/android/configuration.cpp')
0 files changed, 0 insertions, 0 deletions