| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
| id="BanUncheckedReflection" |
| message="Calling Method.invoke without an SDK check" |
| errorLine1=" return invoke(instance, *arguments)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| file="src/main/java/androidx/ui/tooling/preview/PreviewUtils.kt" |
| message="This call is to a method from API 26, the call containing class androidx.ui.tooling.preview.LayoutlibFontResourceLoader 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=" is ResourceFont -> context.resources.getFont(font.resId)" |
| file="src/main/java/androidx/ui/tooling/preview/LayoutlibFontResourceLoader.kt" |