From a518a3dec8c086c46cab86b11b46a2c34ba816a6 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Wed, 28 Aug 2024 22:35:02 +0200 Subject: [PATCH] switch foreground service type This might fix the background microphone usage. --- app/src/main/AndroidManifest.xml | 5 +++-- app/src/main/kotlin/d/d/meshenger/MainService.kt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2d59a9b03..27e3d90a7 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,7 +6,8 @@ android:name="android.hardware.camera" android:required="false" /> - + + @@ -56,7 +57,7 @@ + android:foregroundServiceType="camera|microphone" />