commit | e9630038872065874c66c8f120555cf09d1ee060 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Sat Jan 21 15:53:11 2017 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Sat Jan 21 15:53:11 2017 -0800 |
tree | 2a1f74a8714f6b048db321f390540b4f8d389732 | |
parent | 9a33bda0709f112d67635dbd72cb82d306726200 [diff] |
PlayerBase: unregistration in player release The player state of PlayerBase was not kept in sync with its corresponding AudioPlaybackConfiguration. This caused the configuration to never be removed and gc'd because the state of PlayerBase when released was always the unitialized state of 0 == released state. Test: use a MediaPlayer then call release, verify the player is not showing in the AudioService dumpsys Bug: 30258418 Change-Id: I9a6704147949e1e45752e646648c8c882376752f