Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Oussama Ben Abdelbaki | d77fa79 | 2020-08-26 19:15:20 -0400 | [diff] [blame] | 2 | <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 3 | |
| 4 | <issue |
Oussama Ben Abdelbaki | dd0931f | 2020-08-05 12:17:43 -0400 | [diff] [blame] | 5 | id="UnsafeNewApiCall" |
| 6 | message="This call is to a method from API 19, the call containing class androidx.media2.common.MediaMetadata.BitmapEntry is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)." |
| 7 | errorLine1=" return bitmap.getAllocationByteCount();" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="src/main/java/androidx/media2/common/MediaMetadata.java" |
| 11 | line="1299" |
| 12 | column="31"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 16 | id="KotlinPropertyAccess" |
| 17 | message="This method should be called `getMediaItem` such that `mediaItem` can be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes" |
Gyumin Sim | 3821431 | 2019-07-15 20:07:35 +0900 | [diff] [blame] | 18 | errorLine1=" public abstract MediaItem getCurrentMediaItem();" |
| 19 | errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 20 | <location |
| 21 | file="src/main/java/androidx/media2/common/SessionPlayer.java" |
Alan Viverette | 347182a | 2020-06-10 21:08:42 -0400 | [diff] [blame] | 22 | line="817" |
Gyumin Sim | 3821431 | 2019-07-15 20:07:35 +0900 | [diff] [blame] | 23 | column="31"/> |
Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 24 | </issue> |
| 25 | |
| 26 | <issue |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 27 | id="UnknownNullness" |
| 28 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 29 | errorLine1=" Executor executor, OnMetadataChangedListener listener) {" |
| 30 | errorLine2=" ~~~~~~~~"> |
| 31 | <location |
| 32 | file="src/main/java/androidx/media2/common/MediaItem.java" |
Alan Viverette | 347182a | 2020-06-10 21:08:42 -0400 | [diff] [blame] | 33 | line="231" |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 34 | column="13"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="UnknownNullness" |
| 39 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 40 | errorLine1=" Executor executor, OnMetadataChangedListener listener) {" |
| 41 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 42 | <location |
| 43 | file="src/main/java/androidx/media2/common/MediaItem.java" |
Alan Viverette | 347182a | 2020-06-10 21:08:42 -0400 | [diff] [blame] | 44 | line="231" |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 45 | column="32"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="UnknownNullness" |
| 50 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 51 | errorLine1=" public void removeOnMetadataChangedListener(OnMetadataChangedListener listener) {" |
| 52 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 53 | <location |
| 54 | file="src/main/java/androidx/media2/common/MediaItem.java" |
Alan Viverette | 347182a | 2020-06-10 21:08:42 -0400 | [diff] [blame] | 55 | line="246" |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 56 | column="49"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="UnknownNullness" |
| 61 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 62 | errorLine1=" public void writeToParcel(Parcel dest, int flags) {" |
| 63 | errorLine2=" ~~~~~~"> |
| 64 | <location |
| 65 | file="src/main/java/androidx/media2/common/ParcelImplListSlice.java" |
Jeff Gaston | 3c2c3ca | 2020-08-25 21:41:34 -0400 | [diff] [blame] | 66 | line="133" |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 67 | column="31"/> |
| 68 | </issue> |
| 69 | |
Louis Pullen-Freilich | 8ad38ba | 2019-06-10 16:33:44 +0100 | [diff] [blame] | 70 | </issues> |