Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed722378 authored by Andy Hung's avatar Andy Hung Committed by Android Build Cherrypicker Worker
Browse files

AudioPolicyManager: Fix memory leak

Refbase objects can leak the weakref_impl if created on the stack.
Fix deviceToAudioPort().

Test: see bug
Bug: 295257845
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5b9a611ed53095a41e3e91b0cebf07701289b4c3)
Merged-In: I7d0363b4a1b725bdfa4949b85eb1a78c8b3d8ace
Change-Id: I7d0363b4a1b725bdfa4949b85eb1a78c8b3d8ace
parent c36f3abc
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