| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02"> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.media2.integration.testapp.VideoSelectorActivity 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=" if (checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="85" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 23, the call containing class androidx.media2.integration.testapp.VideoSelectorActivity 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(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE}," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="89" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="MediaItem.getMediaId can only be called from within the same library group (groupId=androidx.media2)" |
| errorLine1=" && TextUtils.equals(currentItem.getMediaId(), mUri.toString())" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java" |
| line="328" |
| column="53"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `showErrorDialogIfFailed` of class `VideoPlayerActivity` requires synthetic accessor" |
| errorLine1=" showErrorDialogIfFailed(controller.setMediaItem(mUri.toString())," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java" |
| line="334" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `showErrorDialogIfFailed` of class `VideoPlayerActivity` requires synthetic accessor" |
| errorLine1=" showErrorDialogIfFailed(controller.prepare(), "failed to prepare " + mUri);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java" |
| line="336" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `createLaunchIntent` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" Intent launch = createLaunchIntent(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="99" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mUrlText` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" mUrlText.getText().toString());" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="101" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" if ((position >= 0) && (position < mSelectItems.getCount())) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="203" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" VideoItem item = mSelectItems.getItem(position);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="204" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `createLaunchIntent` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" Intent launch = createLaunchIntent(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="208" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` constructor of class `VideoItemList` requires synthetic accessor" |
| errorLine1=" VideoItemList retVal = new VideoItemList(p, is_root);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="250" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `createVil` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" return createVil(mPath);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="314" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" mSelectItems = items;" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="320" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" mSelectList.setAdapter(mSelectItems);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="321" |
| column="40"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSelectList` of class `VideoSelectorActivity` requires synthetic accessor" |
| errorLine1=" mSelectList.setAdapter(mSelectItems);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="321" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mMediaPlayer` of class `VideoSessionService` requires synthetic accessor" |
| errorLine1=" mMediaPlayer.reset();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java" |
| line="144" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mAudioAttributes` of class `VideoSessionService` requires synthetic accessor" |
| errorLine1=" showToastIfFailed(mMediaPlayer.setAudioAttributes(mAudioAttributes)," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java" |
| line="145" |
| column="63"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mMediaPlayer` of class `VideoSessionService` requires synthetic accessor" |
| errorLine1=" showToastIfFailed(mMediaPlayer.setAudioAttributes(mAudioAttributes)," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java" |
| line="145" |
| column="31"/> |
| </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 void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java" |
| line="84" |
| 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 boolean onTouchEvent(MotionEvent ev) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java" |
| line="171" |
| column="33"/> |
| </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 void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="70" |
| 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 void onRequestPermissionsResult(int requestCode, String[] permissions, int[] results) {" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="121" |
| column="61"/> |
| </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 void onRequestPermissionsResult(int requestCode, String[] permissions, int[] results) {" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java" |
| line="121" |
| column="83"/> |
| </issue> |
| |
| </issues> |