1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-02-16 19:50:35 +01:00

Fixed AndroidManifest to receive Bluetooth events

Set parallel downloads to 2 so the third thread can stream for playback
This commit is contained in:
Nite 2022-05-10 18:15:37 +02:00
parent faf07f2887
commit f790e29add
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receiver.BluetoothIntentReceiver" <receiver android:name=".receiver.BluetoothIntentReceiver"
android:exported="false"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/> <action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/> <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>

View File

@ -353,7 +353,7 @@ class Downloader(
} }
companion object { companion object {
const val PARALLEL_DOWNLOADS = 3 const val PARALLEL_DOWNLOADS = 2
const val CHECK_INTERVAL = 5000L const val CHECK_INTERVAL = 5000L
} }