diff --git a/app/src/main/java/com/example/ueberwachungssystem/Detection/DetectorService.java b/app/src/main/java/com/example/ueberwachungssystem/Detection/DetectorService.java index 6d30379..3205133 100644 --- a/app/src/main/java/com/example/ueberwachungssystem/Detection/DetectorService.java +++ b/app/src/main/java/com/example/ueberwachungssystem/Detection/DetectorService.java @@ -34,12 +34,8 @@ public class DetectorService extends LifecycleService { passToServiceListener(detectionReport); } }); - audioRecorder = new AudioRecorder(this); - - isServiceRunning = true; - return super.onStartCommand(intent, flags, startId); }