Log param.
This commit is contained in:
parent
4fa1327925
commit
291f877947
1 changed files with 2 additions and 2 deletions
|
|
@ -233,7 +233,7 @@ class DefaultNotificationDrawerManager @Inject constructor(
|
||||||
private fun CoroutineScope.refreshNotificationDrawer(doRender: Boolean) = launch {
|
private fun CoroutineScope.refreshNotificationDrawer(doRender: Boolean) = launch {
|
||||||
// Implement last throttler
|
// Implement last throttler
|
||||||
val canHandle = firstThrottler.canHandle()
|
val canHandle = firstThrottler.canHandle()
|
||||||
Timber.v("refreshNotificationDrawer(), delay: ${canHandle.waitMillis()} ms")
|
Timber.v("refreshNotificationDrawer($doRender), delay: ${canHandle.waitMillis()} ms")
|
||||||
withContext(dispatchers.io) {
|
withContext(dispatchers.io) {
|
||||||
delay(canHandle.waitMillis())
|
delay(canHandle.waitMillis())
|
||||||
try {
|
try {
|
||||||
|
|
@ -246,7 +246,7 @@ class DefaultNotificationDrawerManager @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun refreshNotificationDrawerBg(doRender: Boolean) {
|
private suspend fun refreshNotificationDrawerBg(doRender: Boolean) {
|
||||||
Timber.v("refreshNotificationDrawerBg()")
|
Timber.v("refreshNotificationDrawerBg($doRender)")
|
||||||
val eventsToRender = notificationState.updateQueuedEvents { queuedEvents, renderedEvents ->
|
val eventsToRender = notificationState.updateQueuedEvents { queuedEvents, renderedEvents ->
|
||||||
notifiableEventProcessor.process(queuedEvents.rawEvents(), renderedEvents).also {
|
notifiableEventProcessor.process(queuedEvents.rawEvents(), renderedEvents).also {
|
||||||
queuedEvents.clearAndAdd(it.onlyKeptEvents())
|
queuedEvents.clearAndAdd(it.onlyKeptEvents())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue