[690][led]LED崩溃修复
This commit is contained in:
@@ -8,7 +8,7 @@ import com.mogo.support.device.IWriteChainLogListener
|
||||
import kotlinx.coroutines.Job
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.launch
|
||||
import java.util.PriorityQueue
|
||||
import java.util.concurrent.PriorityBlockingQueue
|
||||
import kotlin.math.ceil
|
||||
|
||||
open class BaseLedUIViewModel(protected val writeChainLogListener: IWriteChainLogListener) :
|
||||
@@ -21,7 +21,7 @@ open class BaseLedUIViewModel(protected val writeChainLogListener: IWriteChainLo
|
||||
private var baseUICountDownJob: Job? = null
|
||||
private var currentLedUI: LedUI
|
||||
private var currentCountDownJob: Job? = null
|
||||
private val restoreLedUIQueue = PriorityQueue<LedUI>()
|
||||
private val restoreLedUIQueue = PriorityBlockingQueue<LedUI>()
|
||||
|
||||
private val currentLedUILiveData = MutableLiveData<LedUI>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user