timusus/Shuttle

Bluetooth control not working after connection

Open

#21 opened on Feb 26, 2017

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Java (2,217 stars) (494 forks)batch import
bugenhancementhelp wanted

Description

  • Version: 1.6.3 (Upgraded)

  • Device: OnePlus 3T (was happening on OnePlus One as well)

  • OS version: Android 7.0 (was happening on previous versions as well)

  • Description: After connecting phone to bluetooth device (tried with headphones and bluetooth in a car), it's not possible to control the player. Simply any playback controls (play/pause, next/prev, is not responding). But after you play a song from widget/app, then it's possible to control it via bluetooth. If you first play a song and later connect to bluetooth, it's possible to control it.

  • Outcome: I assume that the reason it's happening is, that when you connect bluetooth device and app was not running, the broadcast receiver for bluetooth controls is not registered, therefore it can't control the app.

Contributor guide