Skip to content
Commit d560fba3 authored by Jernej Virag's avatar Jernej Virag Committed by Cherrypicker Worker
Browse files

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
parent f96e49ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment