commit | de1f065be109e1c313d8330c8e34210fedaac74e | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Nov 11 16:13:48 2011 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Fri Nov 11 16:13:48 2011 -0800 |
tree | ba350f88aa1c75fd400552b5ca8afa0c8e26f9e2 | |
parent | 24597eb77e1a88994b83c5b1f45d5b72383943b8 [diff] |
Fix 5607938 AudioFocusDeathHandler leaks GREF The AudioFocus death handler was correctly updating the audio focus stack when an audio focus client dies, but the death handler was leaking GREF if unlinkToDeath() is not called. The fix consists in making sure unlinkToDeath() is always called by calling it in its finalizer. Change-Id: I0c5343b4986ab582cadbf171fc53816952dc16f5