diff options
author | Glenn Guy <glennguy83@gmail.com> | 2018-10-17 22:21:19 +1100 |
---|---|---|
committer | Glenn Guy <glennguy83@gmail.com> | 2018-10-17 22:21:19 +1100 |
commit | 62b69284a67eb15bec96be32a88271bcea624c62 (patch) | |
tree | c2fefcbb9465a72cb629dcf5e60549185eb77264 /app/src/main/res/drawable-xhdpi/media_rewind_dark.png | |
parent | 510944ab35b5da1e2fc2c9f2963c32f3a2b12bbf (diff) | |
download | dsub-62b69284a67eb15bec96be32a88271bcea624c62.tar.gz dsub-62b69284a67eb15bec96be32a88271bcea624c62.tar.bz2 dsub-62b69284a67eb15bec96be32a88271bcea624c62.zip |
requestAudioFocus not behaving properly
Other apps were only triggering the listener if I had started dsub from
Android Auto
It seems that the AudioManager instance needs to come from application
context rather than the service - I found the hint here:
https://stackoverflow.com/a/14129015
Diffstat (limited to 'app/src/main/res/drawable-xhdpi/media_rewind_dark.png')
0 files changed, 0 insertions, 0 deletions