From b696dae808d714e132ad211436efc8248e92eb93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E9=A1=B5?= Date: Sun, 2 Apr 2023 17:20:49 +0800 Subject: [PATCH] Specify foregroundServiceType for DownloadService --- app/src/main/AndroidManifest.xml | 3 ++- buildSrc/src/main/java/Codegen.kt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 02ef66594..68f548a48 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -62,7 +62,8 @@ + android:exported="false" + android:foregroundServiceType="dataSync" /> """.ind(2) + | android:exported="false" + | android:foregroundServiceType="dataSync" />""".ind(2) ) cmpList.add("""