diff options
author | Glenn Guy <glennguy83@gmail.com> | 2018-10-11 23:38:40 +1100 |
---|---|---|
committer | Glenn Guy <glennguy83@gmail.com> | 2018-10-11 23:38:40 +1100 |
commit | 73f5e04e0ddd23a8477ee0c9c4b3364817addede (patch) | |
tree | 81a2a5cb0a4b5668c20bec9c4efee3efa2b5747c /app/src/main/res/values-land | |
parent | 90f6cd02b7968bd3f10d3a4ddd6f2a32cce3ca46 (diff) | |
download | dsub-73f5e04e0ddd23a8477ee0c9c4b3364817addede.tar.gz dsub-73f5e04e0ddd23a8477ee0c9c4b3364817addede.tar.bz2 dsub-73f5e04e0ddd23a8477ee0c9c4b3364817addede.zip |
Remove registerMediaButtonEventReceiver for API >= 21
Finally figured out that this was causing an extra controller to be
registered with the AVRCP module. With DSub as the only media app
running the log would show `V/NewAvrcpMediaPlayerList:
onActiveSessionsChanged: number of controllers: 0` on entry into the app
and would increase to 2 shortly after.
On Android Pie this causes problems as the new AVRCP module's logic is
causing the metadata to be sent through to the wrong controller. I'm not
sure if you think I've gone about it in the correct way but I've removed
the setting for media buttons as well for Lollipop onwards, considering
that this setting has no effect anyway on >= 21.
Diffstat (limited to 'app/src/main/res/values-land')
0 files changed, 0 insertions, 0 deletions