/**
- * Sone - SoneLockedHandler.kt - Copyright © 2019 David ‘Bombe’ Roden
+ * Sone - SoneLockedHandler.kt - Copyright © 2019–2020 David ‘Bombe’ Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
class SoneLockedHandler @Inject constructor(
private val notificationManager: NotificationManager,
@Named("soneLocked") private val notification: ListNotification<Sone>,
- private val executor: ScheduledExecutorService) {
+ @Named("notification") private val executor: ScheduledExecutorService) {
private val future: AtomicReference<ScheduledFuture<*>> = AtomicReference()