| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.0.0-alpha15" type="baseline" client="cli" name="Lint" variant="all" version="7.0.0-alpha15"> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" val channel = NotificationChannel(id, name, NotificationManager.IMPORTANCE_LOW)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ForegroundWorker.kt" |
| line="81" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" channel.description = description" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ForegroundWorker.kt" |
| line="82" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" channel.lockscreenVisibility = Notification.VISIBILITY_PRIVATE" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ForegroundWorker.kt" |
| line="83" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" notificationManager.createNotificationChannel(channel)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ForegroundWorker.kt" |
| line="84" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" && Build.VERSION.SDK_INT >= 16 && data.getClipData() != null) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="95" |
| column="56"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" int count = data.getClipData().getItemCount();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="97" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" String uriString = data.getClipData().getItemAt(i).getUri().toString();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="101" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" jobScheduler.cancelAll();" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="558" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" jobScheduler.schedule(" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="560" |
| column="38"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" new JobInfo.Builder(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="561" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setMinimumLatency(10 * 60 * 1000)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="564" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .build());" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="565" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mImageRecyclerViewAdapter` of class `ImageProcessingActivity` requires synthetic accessor" |
| errorLine1=" mImageRecyclerViewAdapter.updateList(images);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="65" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mShouldLoad` of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" if (mShouldLoad) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="78" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mImageView` of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" mImageView.setImageBitmap(bitmap);" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="80" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mTextView` of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" mTextView.setText(image.mOriginalAssetName);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="81" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mProgressBar` of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" mProgressBar.setVisibility(View.GONE);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="82" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mImageView` of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" mImageView.setVisibility(View.VISIBLE);" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="83" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `scheduleWork` of class `RetryActivity` requires synthetic accessor" |
| errorLine1=" scheduleWork("one", 3, 0.2);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="63" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `scheduleWork` of class `RetryActivity` requires synthetic accessor" |
| errorLine1=" scheduleWork("two", 5, 0.5);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="64" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mTextView` of class `RetryActivity` requires synthetic accessor" |
| errorLine1=" mTextView.setText("nothing to show");" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="79" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mTextView` of class `RetryActivity` requires synthetic accessor" |
| errorLine1=" mTextView.setText(text);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="81" |
| 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=" protected void onCreate(final Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/sherlockholmes/AnalyzeSherlockHolmesActivity.java" |
| line="50" |
| column="35"/> |
| </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 String mProcessedFilePath;" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/Image.java" |
| line="34" |
| 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 Bitmap mImage;" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/Image.java" |
| line="39" |
| 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=" void insert(Image image);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/ImageDao.java" |
| line="37" |
| 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=" List<Image> getImages();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/ImageDao.java" |
| line="45" |
| 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=" int setProcessed(String originalAssetName, String processedFilePath);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/ImageDao.java" |
| line="54" |
| 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=" int setProcessed(String originalAssetName, String processedFilePath);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/ImageDao.java" |
| line="54" |
| column="48"/> |
| </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=" LiveData<List<Image>> getImagesLiveData();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/ImageDao.java" |
| line="62" |
| 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=" protected void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="49" |
| 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=" protected void onActivityResult(int requestCode, int resultCode, Intent data) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java" |
| line="93" |
| column="70"/> |
| </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 ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="117" |
| 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 ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="117" |
| 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=" public void onBindViewHolder(ViewHolder holder, int position) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="124" |
| column="34"/> |
| </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 onViewRecycled(ViewHolder holder) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="129" |
| column="32"/> |
| </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/work/integration/testapp/MainActivity.java" |
| line="81" |
| 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=" public static String TAG = "RecursiveWorker";" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RecursiveWorker.java" |
| line="34" |
| 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 TestDatabase getInstance(Context context) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/TestDatabase.java" |
| line="38" |
| 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 TestDatabase getInstance(Context context) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/TestDatabase.java" |
| line="38" |
| column="44"/> |
| </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 WordCountDao getWordCountDao();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/TestDatabase.java" |
| line="51" |
| 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 ImageDao getImageDao();" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/TestDatabase.java" |
| line="58" |
| 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 static OneTimeWorkRequest.Builder create(String inputFile) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/sherlockholmes/TextMappingWorker.java" |
| line="50" |
| 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 OneTimeWorkRequest.Builder create(String inputFile) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/sherlockholmes/TextMappingWorker.java" |
| line="50" |
| 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 static OneTimeWorkRequest.Builder create(String message) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ToastWorker.java" |
| line="45" |
| 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 OneTimeWorkRequest.Builder create(String message) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/ToastWorker.java" |
| line="45" |
| 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=" void insertWordCount(WordCount wordCount);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/WordCountDao.java" |
| line="37" |
| 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=" LiveData<List<WordCount>> getWordCounts();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/db/WordCountDao.java" |
| line="45" |
| column="5"/> |
| </issue> |
| |
| </issues> |