commit | c3389bda979e9b55c9a095460233795d11951689 | [log] [tgz] |
---|---|---|
author | Sumit Bajpai <sbajpai@codeaurora.org> | Thu Jul 21 13:37:07 2016 +0530 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed Aug 24 08:17:34 2016 -0600 |
tree | 2e37e48e440f23a91d04d6e570f1d4e1edfd4042 | |
parent | 5f4a750538a288a87e9d8d3db82c4f9e6939a1c0 [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. Change-Id: Id5ffe1be8acf1579f93eab8ee1797d14000b9964