From 18f27baa230d66ddd464e2213e2ec403247e46a9 Mon Sep 17 00:00:00 2001 From: Mygod Date: Mon, 24 Aug 2020 01:40:12 +0800 Subject: [PATCH] Remove timber --- mobile/src/main/java/be/mygod/librootkotlinx/RootServer.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mobile/src/main/java/be/mygod/librootkotlinx/RootServer.kt b/mobile/src/main/java/be/mygod/librootkotlinx/RootServer.kt index 4b8e81dc..12ef9e17 100644 --- a/mobile/src/main/java/be/mygod/librootkotlinx/RootServer.kt +++ b/mobile/src/main/java/be/mygod/librootkotlinx/RootServer.kt @@ -16,7 +16,6 @@ import kotlinx.coroutines.channels.consumeEach import kotlinx.coroutines.channels.produce import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.withLock -import timber.log.Timber import java.io.* import java.util.* import java.util.concurrent.CountDownLatch @@ -175,7 +174,6 @@ class RootServer { break } val result = input.readByte() - Timber.i("Received callback #$index: $result") val callback = mutex.synchronized { if (active) (callbackLookup[index] ?: error("Empty callback #$index")).also { if (it.shouldRemove(result)) { @@ -251,7 +249,6 @@ class RootServer { val callback = Callback.Ordinary(this, counter, classLoader, future as CompletableDeferred) mutex.withLock { if (active) { - Timber.i("Register callback #$counter $command") callbackLookup[counter] = callback sendLocked(command) } else future.cancel() @@ -282,7 +279,6 @@ class RootServer { val callback = Callback.Channel(this@RootServer, counter, classLoader, this as SendChannel) mutex.withLock { if (active) { - Timber.i("Register callback #$counter $command") callbackLookup[counter] = callback sendLocked(command) } else callback.finish.cancel()