commit | 0d90876893c69a2e26867b775c76b45774c22390 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Apr 29 16:11:36 2014 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Apr 30 15:38:32 2014 -0700 |
tree | d00cd6ef32a80616e68cfa9f98766a95f12e65a1 | |
parent | 2e9c300b91d0da5e43e1ce8817fa6a41cbf27321 [diff] |
Fix MediaFocusControl index management for PlayerRecord When updating the PlayerRecord stack on playstate changes and media button event receiver registrations, evaluate the index of the stack entry to remove against the index of the last playing entry as this index was valid before the entry was removed. This affects the insertion index. Change-Id: Iec58d2df6bcbd8f55925e9e0f9d48f698f7cf4e5