mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-24 16:47:32 +01:00
Revert "Future-proofed Bluetooth permission request and improved broadcast receiver (#2331)"
This reverts commit e510205b61346a0cfc2375fca1fdfc3c3002f6ee. Fixes #2342 Fixes #2346
This commit is contained in:
parent
603050b7cc
commit
840c512a32
@ -8,10 +8,8 @@
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
-->
|
||||
<!-- Used for Bluetooth access -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH"
|
||||
android:maxSdkVersion="30" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
|
||||
android:maxSdkVersion="30" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||
|
||||
<!-- Since Android 10 -->
|
||||
@ -383,7 +381,8 @@
|
||||
|
||||
<receiver
|
||||
android:name=".externalevents.BluetoothStateChangeReceiver"
|
||||
android:exported="true">
|
||||
android:exported="true"
|
||||
android:permission="android.permission.BLUETOOTH,android.permission.BLUETOOTH_ADMIN">
|
||||
<intent-filter>
|
||||
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
|
||||
<action android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user