commit | 3d56dc24a54b6d080f1d1e0fae1769fd47800b53 | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Fri Jun 25 12:24:34 2021 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Fri Jun 25 16:31:28 2021 +0000 |
tree | a0e0f5a5044208a671c56b5b7af984a785385195 | |
parent | d4c591c75fb7386a4b92ea63c60a4f12d8c80a48 [diff] |
Reduce chance for leak in MediaPlayerData MediaPlayerData#getMediaPlayerIndex had a chance to leak data if called with two existing keys. This refactor reduces the responsibility of #getMediaPlayerIndex, and adds a new method, Fixes: 191150828 Test: atest SystemUITests Change-Id: I989ac5e7d169d43c9ef6aa09a44603323543b305