| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 3.6.0-alpha12" client="gradle" variant="debug" version="3.6.0-alpha12"> |
| |
| <issue |
| id="GradleDependency" |
| message="A newer version of androidx.arch.core:core-runtime than 2.0.0 is available: 2.1.0" |
| errorLine1=" implementation("androidx.arch.core:core-runtime:2.0.0")" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="build.gradle" |
| line="62" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Builder.put can only be called from within the same library group (groupId=androidx.work)" |
| errorLine1=" .put("sleep_time", delay)" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="165" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Builder.put can only be called from within the same library group (groupId=androidx.work)" |
| errorLine1=" .put("sleep_time", delay)" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/MainActivity.java" |
| line="165" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="ExportedContentProvider" |
| message="Exported content providers can provide access to potentially sensitive data" |
| errorLine1=" <provider" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="AllowBackup" |
| message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html" |
| errorLine1="<application" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="23" |
| column="2"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This `AsyncTask` class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" mBitmapLoadTask = new AsyncTask<Image, Void, Bitmap>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="75" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This `AsyncTask` class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" mBitmapLoadTask = new AsyncTask<Image, Void, Bitmap>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java" |
| line="75" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.integer.channel_importance` appears to be unused" |
| errorLine1=" <integer name="channel_importance">3</integer>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="35" |
| column="14"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.integer.notification_id` appears to be unused" |
| errorLine1=" <integer name="notification_id">1</integer>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="38" |
| column="14"/> |
| </issue> |
| |
| <issue |
| id="MissingApplicationIcon" |
| message="Should explicitly set `android:icon`, there is no default" |
| errorLine1="<application" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="23" |
| column="2"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/schedule_delay"" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="96" |
| column="14"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/coroutine_sleep"" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="104" |
| column="14"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText android:id="@+id/delay_in_ms"" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="78" |
| column="10"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/item_processed_image.xml" |
| line="29" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mTextView.setText("nothing to show");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="79" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mTextView.setText("nothing to show");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/work/integration/testapp/RetryActivity.java" |
| line="79" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Infinite Work + Charging Constraint", should use `@string` resource" |
| errorLine1=" android:text="Infinite Work + Charging Constraint"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="36" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Infinite Work + Network Constraint", should use `@string` resource" |
| errorLine1=" android:text="Infinite Work + Network Constraint"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="44" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Enqueue Battery Not Low Work", should use `@string` resource" |
| errorLine1=" android:text="Enqueue Battery Not Low Work"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="52" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Sherlock Holmes", should use `@string` resource" |
| errorLine1=" android:text="Sherlock Holmes"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="60" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Image Processing", should use `@string` resource" |
| errorLine1=" android:text="Image Processing"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="68" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Observe Image URI", should use `@string` resource" |
| errorLine1=" android:text="Observe Image URI"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="76" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Delay in ms", should use `@string` resource" |
| errorLine1=" android:hint="Delay in ms"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="85" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "0", should use `@string` resource" |
| errorLine1=" android:text="0"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="88" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Schedule w/ Delay", should use `@string` resource" |
| errorLine1=" android:text="Schedule w/ Delay"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="102" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Coroutine Sleep", should use `@string` resource" |
| errorLine1=" android:text="Coroutine Sleep"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="110" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Coroutine Cancel", should use `@string` resource" |
| errorLine1=" android:text="Coroutine Cancel"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="120" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Click", should use `@string` resource" |
| errorLine1=" android:text="Click"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/retry_activity.xml" |
| line="24" |
| column="13"/> |
| </issue> |
| |
| </issues> |