mirror of
https://github.com/DrKLO/Telegram.git
synced 2025-01-13 21:23:57 +01:00
fix:The pad is connected to the Bluetooth headset, but sco cannot be established.
This commit is contained in:
parent
d494ea8cb5
commit
b155eef785
1 changed files with 1 additions and 1 deletions
|
@ -2740,7 +2740,7 @@ public class VoIPService extends Service implements SensorEventListener, AudioMa
|
|||
}
|
||||
|
||||
public void toggleSpeakerphoneOrShowRouteSheet(Context context, boolean fromOverlayWindow, Integer selectedPos) {
|
||||
if (isBluetoothHeadsetConnected() && hasEarpiece()) {
|
||||
if (isBluetoothHeadsetConnected()) {
|
||||
BottomSheet.Builder builder = new BottomSheet.Builder(context)
|
||||
.setTitle(LocaleController.getString("VoipOutputDevices", R.string.VoipOutputDevices), true)
|
||||
.selectedPos(selectedPos)
|
||||
|
|
Loading…
Reference in a new issue