| <?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"> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.camera.integration.view.MainActivity 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=" requestPermissions(REQUIRED_PERMISSIONS, REQUEST_CODE_PERMISSIONS);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/MainActivity.java" |
| line="75" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" if (mCameraView.getMaxVideoDuration() > 0) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="82" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" sendEmptyMessageDelayed(RELEASE, mCameraView.getMaxVideoDuration());" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="83" |
| column="78"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" && (mCameraView.getMaxVideoDuration() <= 0" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="198" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" || deltaSinceDownEvent() < mCameraView.getMaxVideoDuration())) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="199" |
| column="64"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" } else if ((mCameraView.getMaxVideoDuration() <= 0" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="208" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="CameraView.getMaxVideoDuration can only be called from within the same library group (groupId=androidx.camera)" |
| errorLine1=" || deltaSinceDownEvent() < mCameraView.getMaxVideoDuration())) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="209" |
| column="64"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.preview` appears to be unused" |
| errorLine1=" <string name="preview">Preview</string>" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="20" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.btn_confirm` appears to be unused" |
| errorLine1=" <string name="btn_confirm">Confirm</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="41" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.btn_cancel` appears to be unused" |
| errorLine1=" <string name="btn_cancel">Cancel</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="42" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `onTap` of class `CaptureViewOnTouchListener` requires synthetic accessor" |
| errorLine1=" onTap();" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="78" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `onHold` of class `CaptureViewOnTouchListener` requires synthetic accessor" |
| errorLine1=" onHold();" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="81" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mCameraView` of class `CaptureViewOnTouchListener` requires synthetic accessor" |
| errorLine1=" if (mCameraView.getMaxVideoDuration() > 0) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="82" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mCameraView` of class `CaptureViewOnTouchListener` requires synthetic accessor" |
| errorLine1=" sendEmptyMessageDelayed(RELEASE, mCameraView.getMaxVideoDuration());" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="83" |
| column="66"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `onRelease` of class `CaptureViewOnTouchListener` requires synthetic accessor" |
| errorLine1=" onRelease();" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/CaptureViewOnTouchListener.java" |
| line="87" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `IMAGE_VIEW_SCALE_TYPES` of class `PreviewViewFragment` requires synthetic accessor" |
| errorLine1=" previewSnapshot.setScaleType(IMAGE_VIEW_SCALE_TYPES[position]);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/PreviewViewFragment.java" |
| line="306" |
| column="46"/> |
| </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=" protected void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/camera/integration/view/MainActivity.java" |
| line="55" |
| column="29"/> |
| </issue> |
| |
| </issues> |