diff --git a/app/build.gradle b/app/build.gradle
index a1e7d8e8f9..a98704ca2c 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,
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 55032d4b97..c89fca8a70 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -34,6 +34,8 @@
+
+
@@ -310,11 +312,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() {