mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
don't incorrectly ask for CAMERA permission
This commit is contained in:
parent
a9c9dac3ab
commit
b753d52b93
2 changed files with 4 additions and 1 deletions
|
|
@ -33,6 +33,9 @@
|
|||
<!-- Needed to open our bluetooth connection to our paired device (after reboot) -->
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
|
||||
<!-- the xing library will try to bring this permission in but we don't want it -->
|
||||
<uses-permission android:name="android.permission.CAMERA" tools:node="remove" />
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.bluetooth_le"
|
||||
android:required="true" />
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ data class BTScanEntry(val name: String, val macAddress: String, val bonded: Boo
|
|||
|
||||
@Composable
|
||||
fun BTScanScreen() {
|
||||
val context = ambient(ContextAmbient)
|
||||
val context = ContextAmbient.current
|
||||
|
||||
/// Note: may be null on platforms without a bluetooth driver (ie. the emulator)
|
||||
val bluetoothAdapter =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue