| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.1.0-alpha08" client="gradle" variant="debug" version="4.1.0-alpha08"> |
| |
| <issue |
| id="PrivateConstructorForUtilityClass" |
| message="Utility class with non private constructor" |
| errorLine1=" private static final class Speed {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Exif.java" |
| line="627" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="KotlinPropertyAccess" |
| message="This getter should be public such that `useRepeatingSurface` can be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes" |
| errorLine1=" boolean isUseRepeatingSurface() {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureConfig.java" |
| line="305" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" ListenableFuture<O> apply(@Nullable I input) throws Exception;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/futures/AsyncFunction.java" |
| line="48" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" boolean checkSupported(String cameraId, List<SurfaceConfig> surfaceConfigList);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="60" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" boolean checkSupported(String cameraId, List<SurfaceConfig> surfaceConfigList);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="60" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" SurfaceConfig transformSurfaceConfig(String cameraId, int imageFormat, Size size);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="70" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" SurfaceConfig transformSurfaceConfig(String cameraId, int imageFormat, Size size);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="70" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" SurfaceConfig transformSurfaceConfig(String cameraId, int imageFormat, Size size);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="70" |
| column="76"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Size getMaxOutputSize(String cameraId, int imageFormat);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="80" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Size getPreviewSize();" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CameraDeviceSurfaceManager.java" |
| line="108" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public CameraInfoUnavailableException(String s, Throwable e) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/CameraInfoUnavailableException.java" |
| line="26" |
| column="43"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public CameraInfoUnavailableException(String s, Throwable e) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/CameraInfoUnavailableException.java" |
| line="26" |
| column="53"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public CameraInfoUnavailableException(String s) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/CameraInfoUnavailableException.java" |
| line="32" |
| column="43"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void onOutputSurface(Surface surface, int imageFormat);" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java" |
| line="35" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void process(ImageProxyBundle bundle);" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java" |
| line="47" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void onResolutionUpdate(Size size);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java" |
| line="54" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" CaptureConfig getCaptureConfig();" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureStage.java" |
| line="30" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public CaptureConfig getCaptureConfig() {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/CaptureStage.java" |
| line="49" |
| column="16"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void onFailure(Throwable t);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/futures/FutureCallback.java" |
| line="49" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void onError(SaveError saveError, String message, @Nullable Throwable cause);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/ImageSaver.java" |
| line="285" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void onError(SaveError saveError, String message, @Nullable Throwable cause);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/ImageSaver.java" |
| line="285" |
| column="43"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static Handler getInstance() {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/MainThreadAsyncHandler.java" |
| line="35" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static <T> Optional<T> absent() {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="78" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static <T> Optional<T> of(T reference) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="90" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static <T> Optional<T> of(T reference) {" |
| errorLine2=" ~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="90" |
| column="38"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static <T> Optional<T> fromNullable(@Nullable T nullableReference) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="102" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract T get();" |
| errorLine2=" ~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="130" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract T or(T defaultValue);" |
| errorLine2=" ~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="168" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract T or(T defaultValue);" |
| errorLine2=" ~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="168" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract Optional<T> or(Optional<? extends T> secondChoice);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="177" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract Optional<T> or(Optional<? extends T> secondChoice);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="177" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract T or(Supplier<? extends T> supplier);" |
| errorLine2=" ~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="189" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract T or(Supplier<? extends T> supplier);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/utils/Optional.java" |
| line="189" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static SurfaceSizeDefinition create(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="48" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Size analysisSize," |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="49" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Size previewSize," |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="50" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Size recordSize) {" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="51" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract Size getAnalysisSize();" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="56" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract Size getPreviewSize();" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="59" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract Size getRecordSize();" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/impl/SurfaceSizeDefinition.java" |
| line="62" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public UseCaseConfig<?> getUseCaseConfig() {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/UseCase.java" |
| line="357" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public VideoCapture(VideoCaptureConfig config) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/core/VideoCapture.java" |
| line="173" |
| column="25"/> |
| </issue> |
| |
| </issues> |