From 855745cf2dba8980691c382e9626c952d716c558 Mon Sep 17 00:00:00 2001 From: iamlooper Date: Thu, 30 Nov 2023 17:53:42 +0500 Subject: [PATCH] feat: set fg service type as per A14 requisite --- app/src/main/AndroidManifest.xml | 3 ++- .../com/looper/android_enhancer/service/BootService.kt | 7 ++++--- gradle/libs.versions.toml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index aaea8ac..1220f01 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -38,7 +38,8 @@ + android:launchMode="singleTask" + android:foregroundServiceType="shortService" />