commit | 3635a926bd7316a55b288a54d409a1070a9c19e8 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Tue Jul 12 07:53:54 2016 -0700 |
committer | Marie Janssen <jamuraa@google.com> | Wed Jul 13 11:30:26 2016 -0700 |
tree | 65cf7dd6fd6a57bc438ee83e6c6b1f5d08dd6ad7 | |
parent | 598902d8e2266f95cb634e76ccabee38100419de [diff] |
Fix AVRCP crash, position and state tracking When the MediaController goes away (media stops) a NPE would cause a crash. Initialize the position so that an initial notification gets sent when position is requested, send it when the music is paused, and send play state whenever the app sends us a play state update. Bug: 30039744 Bug: 29416450 Change-Id: I44397b3dc40d328fa75a2c15875fad298a5090dd