From 12c96fd00bf91f556424a37d757b0075083ac047 Mon Sep 17 00:00:00 2001 From: Thalys Matias Carrara Date: Thu, 8 Jun 2023 12:54:12 -0400 Subject: [PATCH] refactor: fixup jobsHolder --- .../androidenhancedvideoplayer/utils/JobsHolder.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/androidenhancedvideoplayer/src/main/java/com/profusion/androidenhancedvideoplayer/utils/JobsHolder.kt b/androidenhancedvideoplayer/src/main/java/com/profusion/androidenhancedvideoplayer/utils/JobsHolder.kt index a25af7d5..4a39bd73 100644 --- a/androidenhancedvideoplayer/src/main/java/com/profusion/androidenhancedvideoplayer/utils/JobsHolder.kt +++ b/androidenhancedvideoplayer/src/main/java/com/profusion/androidenhancedvideoplayer/utils/JobsHolder.kt @@ -2,11 +2,6 @@ package com.profusion.androidenhancedvideoplayer.utils import kotlinx.coroutines.Job -const val DEFAULT_INITIAL_TIME_TO_SEEK = 0L - object JobsHolder { - var rewindJob: Job? = null - var forwardJob: Job? = null - var initialForwardTimeToSeek = DEFAULT_INITIAL_TIME_TO_SEEK - var initialRewindTimeToSeek = DEFAULT_INITIAL_TIME_TO_SEEK + var seekJob: Job? = null }