From b6bb5865093cf2bd68145f2d3a05185902bc68c2 Mon Sep 17 00:00:00 2001
From: 0x330a <92654767+0x330a@users.noreply.github.com>
Date: Fri, 13 Oct 2023 14:32:04 +1100
Subject: [PATCH 1/2] feat: add foreground types to key caching service and
call service
---
app/src/main/AndroidManifest.xml | 8 +++++++-
.../thoughtcrime/securesms/service/KeyCachingService.java | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index a820caeaa..f2a4642b7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -34,6 +34,8 @@
+
+
@@ -307,11 +309,15 @@
android:value="org.thoughtcrime.securesms.home.HomeActivity" />
+ android:exported="false" android:foregroundServiceType="specialUse">
+
+
+
= 34) {
+ startForeground(SERVICE_RUNNING_ID, builder.build(), ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE);
+ } else {
+ startForeground(SERVICE_RUNNING_ID, builder.build());
+ }
}
private PendingIntent buildLockIntent() {
From 9d02eb33c7f9e13a12b93ecb63c6d7e7abc96d03 Mon Sep 17 00:00:00 2001
From: 0x330a <92654767+0x330a@users.noreply.github.com>
Date: Fri, 13 Oct 2023 16:48:47 +1100
Subject: [PATCH 2/2] build: update version code
---
app/build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index d6954c27e..bfb73f9fc 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -31,8 +31,8 @@ configurations.all {
exclude module: "commons-logging"
}
-def canonicalVersionCode = 358
-def canonicalVersionName = "1.17.3"
+def canonicalVersionCode = 359
+def canonicalVersionName = "1.17.4"
def postFixSize = 10
def abiPostFix = ['armeabi-v7a' : 1,