mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Add android.permission.BLUETOOTH permission (#5053)
Keep the permission even on Android 12 and above, as some ROMs are buggy and are unable to pair with A2DP devices
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
-->
|
||||
<!-- Used for Bluetooth access -->
|
||||
<!-- Request legacy Bluetooth permissions on older devices. -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH"
|
||||
android:maxSdkVersion="30"/>
|
||||
<!--
|
||||
Request legacy Bluetooth permissions on older devices.
|
||||
#5053 - keep the permission even on Android 12 and above
|
||||
-->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" tools:remove="android:maxSdkVersion"/>
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
|
||||
android:maxSdkVersion="30"/>
|
||||
<!-- Needed to looks for Bluetooth devices. -->
|
||||
|
||||
Reference in New Issue
Block a user