| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.3.0-alpha02" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-alpha02)" variant="all" version="8.3.0-alpha02"> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 29 (current min is 21): `android.graphics.Paint#getBlendMode`" |
| errorLine1=" assertThat(paragraph.textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/AndroidParagraphTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Cast from `BlendMode` to `Comparable` requires API level 29 (current min is 21)" |
| errorLine1=" assertThat(paragraph.textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/AndroidParagraphTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 29 (current min is 21): `android.graphics.Paint#getBlendMode`" |
| errorLine1=" assertThat(paragraph.textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/AndroidParagraphTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Cast from `BlendMode` to `Comparable` requires API level 29 (current min is 21)" |
| errorLine1=" assertThat(paragraph.textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/AndroidParagraphTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 29 (current min is 21): `android.graphics.Paint#getBlendMode`" |
| errorLine1=" assertThat(textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/AndroidTextPaintTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Cast from `BlendMode` to `Comparable` requires API level 29 (current min is 21)" |
| errorLine1=" assertThat(textPaint.blendMode).isEqualTo(BlendMode.SrcOver)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/AndroidTextPaintTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 29 (current min is 21): `android.graphics.Paint#setBlendMode`" |
| errorLine1=" textPaint.blendMode = BlendMode.DstOver" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/AndroidTextPaintTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 29 (current min is 21): `android.graphics.Paint#getBlendMode`" |
| errorLine1=" assertThat(textPaint.blendMode).isEqualTo(BlendMode.DstOver)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/AndroidTextPaintTest.kt"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Cast from `BlendMode` to `Comparable` requires API level 29 (current min is 21)" |
| errorLine1=" assertThat(textPaint.blendMode).isEqualTo(BlendMode.DstOver)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/AndroidTextPaintTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" "'$key' must be unique. Actual [ [${value.joinToString()}]"" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/text/font/FontVariation.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method createCharSequence has parameter 'resolveTypeface' with type Function4<? super FontFamily, ? super FontWeight, ? super FontStyle, ? super FontSynthesis, ? extends Typeface>." |
| errorLine1=" resolveTypeface: (FontFamily?, FontWeight, FontStyle, FontSynthesis) -> Typeface," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphHelper.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'resolveTypeface' with type Function4<? super FontFamily, ? super FontWeight, ? super FontStyle, ? super FontSynthesis, ? extends Typeface>." |
| errorLine1=" val resolveTypeface: (FontFamily?, FontWeight, FontStyle, FontSynthesis) -> Typeface =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphIntrinsics.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method transform has parameter 'transform' with type Function3<? super String, ? super Integer, ? super Integer, String>." |
| errorLine1=" transform: (String, Int, Int) -> String" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method transform has parameter 'transform' with type Function3<? super String, ? super Integer, ? super Integer, String>." |
| errorLine1=" transform: (String, Int, Int) -> String" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setSpanStyles has parameter 'resolveTypeface' with type Function4<? super FontFamily, ? super FontWeight, ? super FontStyle, ? super FontSynthesis, ? extends Typeface>." |
| errorLine1=" resolveTypeface: (FontFamily?, FontWeight, FontStyle, FontSynthesis) -> Typeface," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setFontAttributes has parameter 'resolveTypeface' with type Function4<? super FontFamily, ? super FontWeight, ? super FontStyle, ? super FontSynthesis, ? extends Typeface>." |
| errorLine1=" resolveTypeface: (FontFamily?, FontWeight, FontStyle, FontSynthesis) -> Typeface," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method flattenFontStylesAndApply has parameter 'block' with type Function3<? super SpanStyle, ? super Integer, ? super Integer, Unit>." |
| errorLine1=" block: (SpanStyle, Int, Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method takeOrElse has parameter 'block' with type Function0<Float>." |
| errorLine1="private fun Float.takeOrElse(block: () -> Float): Float {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/text/style/TextForegroundStyle.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method startInput has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method startInput has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method applySpanStyle has parameter 'resolveTypeface' with type Function4<? super FontFamily, ? super FontWeight, ? super FontStyle, ? super FontSynthesis, ? extends Typeface>." |
| errorLine1=" resolveTypeface: (FontFamily?, FontWeight, FontStyle, FontSynthesis) -> Typeface," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt"/> |
| </issue> |
| |
| </issues> |