commit | c9f4e0d24e39b372452fa809b12f9c588b29abd9 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Wed May 24 08:21:40 2017 -0700 |
committer | Marie Janssen <jamuraa@google.com> | Wed May 24 08:36:52 2017 -0700 |
tree | 5a65dc1f610535553b8515c77ec23e7cec953e72 | |
parent | 7c358a3c47d3ba2ecd9ed3f3ce5d9930c3003cd6 [diff] |
AVRCP: don't remove inactive media controllers Some players change their controllers to inactive when they are buffering, paused, or changing songs which causes us to lose track of the controller in these states when it makes sense to keep track still. In the case where we actually have no controller, simplify the logic around tracking play state using A2DP feedback. Test: Pause / Play with troublesome headphones Bug: 38497029 Change-Id: I8e1258b85007c070fc083d9522f9fa8caa13e6f2