mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-24 16:21:16 +02:00
Revert "Future-proofed Bluetooth permission request and improved broadcast receiver (#2331)"
This reverts commit e510205b61
.
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…
Reference in New Issue
Block a user