From 29fbf06c4b26b4fdd9e11b3ff7c0aebff4b23da9 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 24 Aug 2018 12:24:40 +0000 Subject: [PATCH] Added foreground permission Closes #50 --- FAQ.md | 1 + app/src/main/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/FAQ.md b/FAQ.md index 84fe7d69..d5451bff 100644 --- a/FAQ.md +++ b/FAQ.md @@ -11,6 +11,7 @@ Frequently Asked Questions * View network connections (ACCESS_NETWORK_STATE): to monitor internet connectivity changes * Run at startup (RECEIVE_BOOT_COMPLETED): to start monitoring on device start * Optional: read your contacts (READ_CONTACTS): to autocomplete addresses +* ... (FOREGROUND_SERVICE): to run a foreground service on Android 9 Pie and later, see also the next question. **(2) Why is there a permanent notification shown?** diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b97187c8..fdac5dbf 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,6 +6,7 @@ +