File tree Expand file tree Collapse file tree 9 files changed +16
-23
lines changed
bluetooth/integration-tests/testapp/src/main/java/androidx/bluetooth/integration/testapp/ui/scanner
runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime
ui/ui-graphics/src/skikoMain/kotlin/androidx/compose/ui/graphics
navigation/navigation-dynamic-features-runtime/src
androidTest/java/androidx/navigation/dynamicfeatures
test/java/androidx/navigation/dynamicfeatures Expand file tree Collapse file tree 9 files changed +16
-23
lines changed Original file line number Diff line number Diff line change 1616
1717package androidx.bluetooth.integration.testapp.ui.scanner
1818
19+ // TODO(ofy) Migrate from androidx.bluetooth.integration.testapp.experimental.BluetoothLe to
20+ // androidx.bluetooth.BluetoothDevice once in place
21+ // TODO(ofy) Migrate from androidx.bluetooth.integration.testapp.experimental.BluetoothLe to
22+ // androidx.bluetooth.BluetoothLe once scan API is in place
1923import android.bluetooth.le.ScanResult
2024import android.bluetooth.le.ScanSettings
2125import android.os.Bundle
@@ -28,8 +32,6 @@ import android.widget.TextView
2832import androidx.bluetooth.integration.testapp.R
2933import androidx.bluetooth.integration.testapp.databinding.FragmentScannerBinding
3034import android.annotation.SuppressLint
31- // TODO(ofy) Migrate to androidx.bluetooth.BluetoothDevice once in place
32- // TODO(ofy) Migrate to androidx.bluetooth.BluetoothLe once scan API is in place
3335import androidx.bluetooth.integration.testapp.experimental.BluetoothLe
3436import androidx.bluetooth.integration.testapp.ui.common.getColor
3537import androidx.core.view.isVisible
Original file line number Diff line number Diff line change @@ -27,9 +27,8 @@ import androidx.compose.runtime.snapshots.current
2727import androidx.compose.runtime.snapshots.newWritableRecord
2828import androidx.compose.runtime.snapshots.sync
2929import androidx.compose.runtime.snapshots.withCurrent
30- // Explicit imports for these needed in common source sets.
31- import kotlin.jvm.JvmName
3230import kotlin.jvm.JvmMultifileClass
31+ import kotlin.jvm.JvmName
3332import kotlin.math.min
3433
3534/* *
Original file line number Diff line number Diff line change 1818@file:JvmMultifileClass
1919package androidx.compose.runtime
2020
21- import kotlinx.coroutines.CoroutineScope
22- import kotlinx.coroutines.suspendCancellableCoroutine
2321import kotlin.coroutines.CoroutineContext
24- // Explicit imports for these needed in common source sets.
25- import kotlin.jvm.JvmName
2622import kotlin.jvm.JvmMultifileClass
23+ import kotlin.jvm.JvmName
24+ import kotlinx.coroutines.CoroutineScope
25+ import kotlinx.coroutines.suspendCancellableCoroutine
2726
2827/* *
2928 * Receiver scope for use with [produceState].
Original file line number Diff line number Diff line change 1919package androidx.compose.runtime
2020
2121import androidx.compose.runtime.snapshots.Snapshot
22+ import kotlin.coroutines.CoroutineContext
23+ import kotlin.coroutines.EmptyCoroutineContext
24+ import kotlin.jvm.JvmMultifileClass
25+ import kotlin.jvm.JvmName
2226import kotlinx.coroutines.channels.Channel
2327import kotlinx.coroutines.flow.Flow
2428import kotlinx.coroutines.flow.StateFlow
2529import kotlinx.coroutines.flow.collect
2630import kotlinx.coroutines.flow.flow
2731import kotlinx.coroutines.withContext
28- import kotlin.coroutines.CoroutineContext
29- import kotlin.coroutines.EmptyCoroutineContext
30- // Explicit imports for these needed in common source sets.
31- import kotlin.jvm.JvmName
32- import kotlin.jvm.JvmMultifileClass
3332
3433/* *
3534 * Collects values from this [StateFlow] and represents its latest value via [State].
Original file line number Diff line number Diff line change 1818@file:JvmMultifileClass
1919package androidx.compose.runtime
2020
21+ import androidx.compose.runtime.internal.JvmDefaultWithCompatibility
2122import androidx.compose.runtime.snapshots.MutableSnapshot
22- // Explicit imports for these needed in common source sets.
23- import kotlin.jvm.JvmName
2423import kotlin.jvm.JvmMultifileClass
25- import androidx.compose.runtime.internal.JvmDefaultWithCompatibility
24+ import kotlin.jvm.JvmName
2625
2726/* *
2827 * A policy to control how the result of [mutableStateOf] report and merge changes to
Original file line number Diff line number Diff line change @@ -27,9 +27,8 @@ import androidx.compose.runtime.snapshots.StateRecord
2727import androidx.compose.runtime.snapshots.overwritable
2828import androidx.compose.runtime.snapshots.readable
2929import androidx.compose.runtime.snapshots.withCurrent
30- // Explicit imports for jvm annotations needed in common source sets.
31- import kotlin.jvm.JvmName
3230import kotlin.jvm.JvmMultifileClass
31+ import kotlin.jvm.JvmName
3332import kotlin.reflect.KProperty
3433
3534/* *
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import org.jetbrains.skia.SamplingMode
3232import org.jetbrains.skia.ClipMode as SkClipMode
3333import org.jetbrains.skia.RRect as SkRRect
3434import org.jetbrains.skia.Rect as SkRect
35- // Using skiko use as it has versions for all mpp platforms
3635import org.jetbrains.skia.impl.use
3736
3837actual typealias NativeCanvas = org.jetbrains.skia.Canvas
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import org.junit.Rule
3131import org.junit.Test
3232import org.junit.runner.RunWith
3333import org.mockito.Mockito.mock
34- /* ktlint-disable no-unused-imports */ // https://github.com/pinterest/ktlint/issues/937
3534import org.mockito.Mockito.`when` as mockWhen
3635
3736/* ktlint-enable unused-imports */
Original file line number Diff line number Diff line change @@ -22,11 +22,9 @@ import com.google.common.truth.Truth.assertThat
2222import org.junit.Test
2323import org.junit.runner.RunWith
2424import org.junit.runners.JUnit4
25- /* ktlint-disable no-unused-imports */ // https://github.com/pinterest/ktlint/issues/937
26- import org.mockito.Mockito.`when` as mockWhen
27- /* ktlint-enable unused-imports */
2825import org.mockito.Mockito.mock
2926import org.mockito.Mockito.spy
27+ import org.mockito.Mockito.`when` as mockWhen
3028
3129@RunWith(JUnit4 ::class )
3230public class DynamicInstallManagerTest {
You can’t perform that action at this time.
0 commit comments