* Handler for [SoneLockedEvent]s and [SoneUnlockedEvent]s that can schedule notifications after
* a certain timeout.
*/
/**
* Handler for [SoneLockedEvent]s and [SoneUnlockedEvent]s that can schedule notifications after
* a certain timeout.
*/
-class SoneLockedHandler(private val notificationManager: NotificationManager, private val notification: ListNotification<Sone>, private val executor: ScheduledExecutorService) {
+class SoneLockedHandler @Inject constructor(
+ private val notificationManager: NotificationManager,
+ @Named("soneLocked") private val notification: ListNotification<Sone>,
+ private val executor: ScheduledExecutorService) {
private val future: AtomicReference<ScheduledFuture<*>> = AtomicReference()
private val future: AtomicReference<ScheduledFuture<*>> = AtomicReference()