mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-05-04 03:46:12 +00:00
android: connect to audio when reconnecting to last connected device
This commit is contained in:
@@ -3171,6 +3171,7 @@ class AirPodsService : Service(), SharedPreferences.OnSharedPreferenceChangeList
|
|||||||
CoroutineScope(Dispatchers.IO).launch {
|
CoroutineScope(Dispatchers.IO).launch {
|
||||||
Log.d(TAG, "connecting to $macAddress")
|
Log.d(TAG, "connecting to $macAddress")
|
||||||
connectToSocket(bluetoothAdapter, device!!, manual = true)
|
connectToSocket(bluetoothAdapter, device!!, manual = true)
|
||||||
|
connectAudio(this@AirPodsService, device!!)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user