mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-19 02:11:30 +00:00
Update app/src/main/java/org/thoughtcrime/securesms/service/KeyCachingService.java
Co-authored-by: Andrew <andrewgallasch@gmail.com>
This commit is contained in:
parent
d8bcb83de5
commit
fb7c24a26d
@ -255,7 +255,7 @@ public class KeyCachingService extends Service {
|
|||||||
stopForeground(true);
|
stopForeground(true);
|
||||||
|
|
||||||
int type = 0;
|
int type = 0;
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
|
if (Build.VERSION.SDK_INT >= 34) {
|
||||||
type = ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE;
|
type = ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user