diff --git a/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java b/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java index b4b7b618..babc0c9e 100644 --- a/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java +++ b/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java @@ -174,7 +174,7 @@ public class BackgroundService extends Service { private static ArrayList callbacks = new ArrayList(); - private final Lock mutex = new ReentrantLock(true); + private static final Lock mutex = new ReentrantLock(true); @Override public int onStartCommand(Intent intent, int flags, int startId) {