| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02"> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.platform.AndroidDefaultTypeface is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" Typeface.create(Typeface.DEFAULT, fontWeight.weight, fontStyle == FontStyle.Italic)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidDefaultTypeface.android.kt" |
| line="44" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.platform.AndroidGenericFontFamilyTypeface is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" Typeface.create(nativeTypeface, fontWeight.weight, fontStyle == FontStyle.Italic)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidGenericFontFamilyTypeface.android.kt" |
| line="75" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.style.FontSpan is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" oldTypeface.weight" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/style/FontSpan.kt" |
| line="46" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.style.FontWeightStyleSpan is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" (weight != 0 && weight != oldTypeface?.weight)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/style/FontWeightStyleSpan.kt" |
| line="67" |
| column="52"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.style.FontWeightStyleSpan is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" oldTypeface?.weight ?: FontStyle.FONT_WEIGHT_NORMAL" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/style/FontWeightStyleSpan.kt" |
| line="79" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.style.FontWeightStyleSpan is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" textPaint.typeface = Typeface.create(oldTypeface, newWeight, newItalic)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/style/FontWeightStyleSpan.kt" |
| line="88" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.style.FontWeightStyleSpan is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" textPaint.typeface = Typeface.create(oldTypeface, newWeight, newItalic)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/style/FontWeightStyleSpan.kt" |
| line="88" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.compose.ui.text.platform.extensions.LocaleExtensions_androidKt is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)." |
| errorLine1=" android.os.LocaleList(*map { it.toJavaLocale() }.toTypedArray())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt" |
| line="28" |
| column="16"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.compose.ui.text.platform.extensions.SpannableExtensions_androidKt is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)." |
| errorLine1=" LocaleSpan(it.toAndroidLocaleList())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt" |
| line="280" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" Builder.obtain(text, start, end, paint, width)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="108" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setTextDirection(textDir)" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="110" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setAlignment(alignment)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="111" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setMaxLines(maxLines)" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="112" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setEllipsize(ellipsize)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="113" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setEllipsizedWidth(ellipsizedWidth)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="114" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setLineSpacing(lineSpacingExtra, lineSpacingMultiplier)" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="115" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 26, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)." |
| errorLine1=" setJustificationMode(justificationMode)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="117" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setIncludePad(includePadding)" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="119" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" setUseLineSpacingFromFallbacks(fallbackLineSpacing)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="121" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setBreakStrategy(breakStrategy)" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="123" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setHyphenationFrequency(hyphenationFrequency)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="124" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" setIndents(leftIndents, rightIndents)" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="125" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)." |
| errorLine1=" }.build()" |
| errorLine2=" ~~~~~"> |
| <location |
| file="../../../text/text/src/main/java/androidx/compose/ui/text/android/StaticLayoutFactory.kt" |
| line="126" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.compose.ui.text.platform.extensions.TextPaintExtensions_androidKt is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)." |
| errorLine1=" textLocales = style.localeList.toAndroidLocaleList()" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt" |
| line="59" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.platform.TypefaceAdapter.Companion is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" Typeface.create(typeface, finalFontWeight, finalFontStyle)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt" |
| line="99" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.platform.TypefaceAdapter is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| errorLine1=" Typeface.create(" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt" |
| line="213" |
| column="22"/> |
| </issue> |
| |
| </issues> |