| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.13.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0-alpha01)" variant="all" version="8.13.0-alpha01"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/ComposeUiTest.android.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/android/WindowCapture.android.kt"/> |
| </issue> |
| |
| <issue |
| id="CoroutineCreationDuringComposition" |
| message="Calls to launch should happen inside a LaunchedEffect and not composition" |
| errorLine1=" setContent { rememberCoroutineScope().launch { withFrameNanos {} } }" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/CustomEffectContextTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ModifierFactoryExtensionFunction" |
| message="Modifier factory functions should be extensions on Modifier" |
| errorLine1=" private fun rowModifier(): Modifier =" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/ScrollToNodeTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ModifierFactoryExtensionFunction" |
| message="Modifier factory functions should be extensions on Modifier" |
| errorLine1=" private fun columnModifier(): Modifier =" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/ScrollToNodeTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ModifierFactoryExtensionFunction" |
| message="Modifier factory functions should be extensions on Modifier" |
| errorLine1=" private fun rowModifier(scrollState: ScrollState): Modifier =" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/ScrollToTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ModifierFactoryExtensionFunction" |
| message="Modifier factory functions should be extensions on Modifier" |
| errorLine1=" private fun columnModifier(scrollState: ScrollState): Modifier =" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/ScrollToTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; `SDK_INT` is always >= 23" |
| errorLine1="@RequiresApi(23)" |
| errorLine2="~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/DeviceConfigurationOverride.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field MouseAsTouchEvents with type List<Integer>: replace with IntList" |
| errorLine1="private val MouseAsTouchEvents = listOf(ACTION_DOWN, ACTION_MOVE, ACTION_UP)" |
| errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable absoluteHistoricalTimes with type List<? extends Long>: replace with LongList" |
| errorLine1=" val absoluteHistoricalTimes = relativeHistoricalTimes.map { currentTime + it }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchEvent has parameter pointerIds with type List<Integer>: replace with IntList" |
| errorLine1=" pointerIds: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchEvent has parameter eventTimes with type List<Long>: replace with LongList" |
| errorLine1=" eventTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchMoves has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueMoves has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field lastPositions with type Map<Integer, Offset>: replace with IntLongMap" |
| errorLine1=" val lastPositions = mutableMapOf(Pair(pointerId, startPosition))" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Integer, Offset> of getLastPositions: replace with IntLongMap" |
| errorLine1=" val lastPositions = mutableMapOf(Pair(pointerId, startPosition))" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field pressedButtons with type Set<Integer>: replace with IntSet" |
| errorLine1=" val pressedButtons: MutableSet<Int> = mutableSetOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Set<Integer> of getPressedButtons: replace with IntSet" |
| errorLine1=" val pressedButtons: MutableSet<Int> = mutableSetOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field downKeys with type HashSet<Key>: replace with LongSet" |
| errorLine1=" private val downKeys: HashSet<Key> = hashSetOf()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method withKeysDown has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="fun KeyInjectionScope.withKeysDown(keys: List<Key>, block: KeyInjectionScope.() -> Unit) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method withKeysToggled has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="fun KeyInjectionScope.withKeysToggled(keys: List<Key>, block: KeyInjectionScope.() -> Unit) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method pressKeys has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="private fun KeyInjectionScope.pressKeys(keys: List<Key>) =" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistoryMultiPointer has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistory has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistory has parameter historicalCoordinates with type List<Offset>: replace with LongList" |
| errorLine1=" historicalCoordinates: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method swipe has parameter keyTimes with type List<Long>: replace with LongList" |
| errorLine1=" keyTimes: List<Long> = emptyList()," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method multiTouchSwipe has parameter keyTimes with type List<Long>: replace with LongList" |
| errorLine1=" keyTimes: List<Long> = emptyList()," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| </issues> |