playback: disable bluetooth autoplay
Temporarily disable and clean up the bluetooth autoplay system for now until I can get it working sensibly.
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
|
||||
<!-- Bluetooth auto-connect functionality -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" android:minSdkVersion="31" />
|
||||
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
|
||||
<!-- Bluetooth auto-connect functionality (Disabled until permission workflow can be made) -->
|
||||
<!-- <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />-->
|
||||
<!-- <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" android:minSdkVersion="31" />-->
|
||||
<!-- <uses-feature android:name="android.hardware.bluetooth" android:required="false"/>-->
|
||||
|
||||
<!-- Work around ExoPlayer requiring network permissions we do not use -->
|
||||
<uses-permission
|
||||
@@ -107,14 +107,14 @@
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- Auxio's auto-playback on BT connect receiver. -->
|
||||
<receiver
|
||||
android:name=".playback.system.BluetoothConnectReceiver"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<!-- Auxio's reciever for bluetooth headset events -->
|
||||
<!-- <receiver-->
|
||||
<!-- android:name=".playback.system.BluetoothConnectReceiver"-->
|
||||
<!-- android:exported="true">-->
|
||||
<!-- <intent-filter>-->
|
||||
<!-- <action android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />-->
|
||||
<!-- </intent-filter>-->
|
||||
<!-- </receiver>-->
|
||||
|
||||
<!-- Auxio's one and only AppWidget. -->
|
||||
<receiver
|
||||
|
||||
Reference in New Issue
Block a user