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:
parent
faf07f2887
commit
f790e29add
@ -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"/>
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user