blob: ac497c0a02702a1666c9c14cb89357ab512e1a39 [file] [log] [blame]
<?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="BanTargetApiAnnotation"
message="Uses @TargetApi annotation"
errorLine1=" @TargetApi(24)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/view/SurfaceViewImplementation.java"
line="117"
column="5"/>
</issue>
<issue
id="UnsafeNewApiCall"
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=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/view/PreviewView.java"
line="226"
column="13"/>
</issue>
<issue
id="UnsafeNewApiCall"
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 -> {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/view/SurfaceViewImplementation.java"
line="130"
column="19"/>
</issue>
<issue
id="SwitchIntDef"
message="Switch statement on an `int` with known associated constant missing case `ImageCapture.FLASH_MODE_UNKNOWN`"
errorLine1=" switch (flashMode) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/view/FlashModeConverter.java"
line="67"
column="9"/>
</issue>
</issues>