| <?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="BanTargetApiAnnotation" |
| message="Uses @TargetApi annotation" |
| errorLine1=" @TargetApi(24)" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| file="src/main/java/androidx/camera/view/SurfaceViewImplementation.java" |
| message="This call is to a method from API 29, the call containing class androidx.camera.view.PreviewView is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)." |
| errorLine1=" saveAttributeDataForStyleable(context, R.styleable.PreviewView, attrs, attributes," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| file="src/main/java/androidx/camera/view/PreviewView.java" |
| message="This call is to a method from API 24, the call containing class androidx.camera.view.SurfaceViewImplementation 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=" PixelCopy.request(mSurfaceView, bitmap, copyResult -> {" |
| file="src/main/java/androidx/camera/view/SurfaceViewImplementation.java" |