| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15"> |
| |
| <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="20" |
| column="2"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `setTextClassifier` of class `MainActivity` requires synthetic accessor" |
| errorLine1=" setTextClassifier(null);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/MainActivity.java" |
| line="74" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `setTextClassifier` of class `MainActivity` requires synthetic accessor" |
| errorLine1=" setTextClassifier(new SimpleTextClassifier(MainActivity.this));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/MainActivity.java" |
| line="76" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `updateStatusText` of class `MainActivity` requires synthetic accessor" |
| errorLine1=" updateStatusText();" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/MainActivity.java" |
| line="78" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="IconLocation" |
| message="Found bitmap drawable `res/drawable/android.png` in densityless folder"> |
| <location |
| file="src/main/res/drawable/android.png"/> |
| </issue> |
| |
| <issue |
| id="MissingApplicationIcon" |
| message="Should explicitly set `android:icon`, there is no default" |
| errorLine1="<application" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="20" |
| column="2"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="39" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="39" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "TextClassifier in use", should use `@string` resource" |
| errorLine1=" android:hint="TextClassifier in use"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="28" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Text to be classified", should use `@string` resource" |
| errorLine1=" android:hint="Text to be classified"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="43" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Linkify", should use `@string` resource" |
| errorLine1=" android:text="Linkify"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_main.xml" |
| line="55" |
| column="13"/> |
| </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/textclassifier/integration/testapp/MainActivity.java" |
| line="53" |
| 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 SimpleTextClassifier(Context context) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="45" |
| 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 TextSelection suggestSelection(TextSelection.Request request) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="50" |
| 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 TextSelection suggestSelection(TextSelection.Request request) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="50" |
| column="43"/> |
| </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 TextClassification classifyText(TextClassification.Request request) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="55" |
| 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 TextClassification classifyText(TextClassification.Request request) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="55" |
| 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 TextLinks generateLinks(TextLinks.Request request) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="70" |
| 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 TextLinks generateLinks(TextLinks.Request request) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="70" |
| column="36"/> |
| </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 onSelectionEvent(SelectionEvent event) {" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/SimpleTextClassifier.java" |
| line="89" |
| column="34"/> |
| </issue> |
| |
| </issues> |