| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15"> |
| |
| <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.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.kt" |
| line="75" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.compose.ui.text.platform.extensions.LocaleExtensionsKt 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.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.SpannableExtensionsKt 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.kt" |
| line="280" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.compose.ui.text.platform.extensions.TextPaintExtensionsKt 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.kt" |
| line="58" |
| 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.kt" |
| line="100" |
| 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.kt" |
| line="214" |
| 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 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> |
| |
| </issues> |