Remove forgotten Trace.endSection()

Change-Id: Ib6f7678f5f1c4b0f93f1736b6453c649d6f7dc97
pull/1368/head
Tomáš Mlynarič 9 months ago
parent 6b35cbb328
commit c396352d83

@ -26,7 +26,6 @@ import android.net.NetworkRequest.Builder
import android.os.Build.VERSION import android.os.Build.VERSION
import android.os.Build.VERSION_CODES import android.os.Build.VERSION_CODES
import androidx.core.content.getSystemService import androidx.core.content.getSystemService
import androidx.tracing.Trace
import androidx.tracing.trace import androidx.tracing.trace
import com.google.samples.apps.nowinandroid.core.network.Dispatcher import com.google.samples.apps.nowinandroid.core.network.Dispatcher
import com.google.samples.apps.nowinandroid.core.network.NiaDispatchers.IO import com.google.samples.apps.nowinandroid.core.network.NiaDispatchers.IO
@ -83,8 +82,6 @@ internal class ConnectivityManagerNetworkMonitor @Inject constructor(
*/ */
channel.trySend(connectivityManager.isCurrentlyConnected()) channel.trySend(connectivityManager.isCurrentlyConnected())
Trace.endSection()
awaitClose { awaitClose {
connectivityManager.unregisterNetworkCallback(callback) connectivityManager.unregisterNetworkCallback(callback)
} }

Loading…
Cancel
Save