Commit 345b7b9
authored
android(fix): set HSP/HFP policy to allow when connecting to audio (#318)
* android: use setConnectionProfile instead of (dis)connect on BluetoothProfile
this prevents android from trying to reconnect to audio itself after we disconnect. this is essentially the same as toggling the 'Media Audio' and 'Phone Calls' settings in the android settings
* android(fix): set HSP/HFP policy to allow when connecting to audio
forgot to change it1 parent fa30d3c commit 345b7b9
File tree
1 file changed
+4
-2
lines changed- android/app/src/main/java/me/kavishdevar/librepods/services
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2708 | 2708 | | |
2709 | 2709 | | |
2710 | 2710 | | |
2711 | | - | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
2712 | 2714 | | |
2713 | | - | |
| 2715 | + | |
2714 | 2716 | | |
2715 | 2717 | | |
2716 | 2718 | | |
| |||
0 commit comments