| <?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="UnusedAttribute" |
| message="Attribute `elevation` is only used in API level 21 and higher (current min is 19)" |
| errorLine1=" android:elevation="2dp"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_container.xml" |
| line="27" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="InflateParams" |
| message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" |
| errorLine1=" .inflate(R.layout.floating_popup_menu_button, null);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="514" |
| column="71"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="IFloatingToolbar can only be accessed from within the same library group (groupId=androidx.textclassifier)" |
| errorLine1="public final class FloatingToolbar implements IFloatingToolbar {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="58" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" mMenu = Preconditions.checkNotNull(menu);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="119" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="MenuItemImpl.requestsActionButton can only be called from within the same library group prefix (referenced groupId=`androidx.appcompat` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" return !impl.requiresActionButton() && !impl.requestsActionButton();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="231" |
| column="58"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="MenuItemImpl.requiresActionButton can only be called from within the same library group prefix (referenced groupId=`androidx.appcompat` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" return !impl.requiresActionButton() && !impl.requestsActionButton();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="231" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="SupportMenuItem.requiresActionButton can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" && menuItem.requiresActionButton();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="239" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" mHost = Preconditions.checkNotNull(host);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="274" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" Preconditions.checkNotNull(contentRectOnScreen);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="292" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" mWidget = Preconditions.checkNotNull(widget);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="367" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" mContext = Preconditions.checkNotNull(context);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="369" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" Preconditions.checkNotNull(menuItemButtonOnClickListener);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="371" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="Preconditions can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" Preconditions.checkNotNull(menuItems);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="388" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="SupportMenuItem.getTooltipText can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" CharSequence tooltip = item.getTooltipText() == null" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="485" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="SupportMenuItem.getTooltipText can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.textclassifier.integration-tests`)" |
| errorLine1=" : item.getTooltipText();" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/integration/testapp/experimental/widget/FloatingToolbar.java" |
| line="487" |
| column="36"/> |
| </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="20" |
| column="2"/> |
| </issue> |
| |
| <issue |
| id="Overdraw" |
| message="Possible overdraw: Root element paints background `@android:color/background_light` with a theme that also paints a background (inferred theme is `@style/AppTheme`)" |
| errorLine1=" android:background="@android:color/background_light"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_container.xml" |
| line="22" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="Overdraw" |
| message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/AppTheme`)" |
| errorLine1=" android:background="?attr/selectableItemBackground">" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_menu_button.xml" |
| line="27" |
| column="5"/> |
| </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="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageButton" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_container.xml" |
| line="59" |
| 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="RtlSymmetry" |
| message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry" |
| errorLine1=" android:paddingStart="@dimen/floating_toolbar_menu_button_side_padding"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_menu_button.xml" |
| line="49" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="RtlSymmetry" |
| message="When you define `paddingLeft` you should probably also define `paddingRight` for right-to-left symmetry" |
| errorLine1=" android:paddingLeft="@dimen/floating_toolbar_menu_button_side_padding"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_menu_button.xml" |
| line="50" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="RtlHardcoded" |
| message="Redundant attribute `paddingLeft`; already defining `paddingStart` with `targetSdkVersion` 28" |
| errorLine1=" android:paddingLeft="@dimen/floating_toolbar_menu_button_side_padding"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/floating_popup_menu_button.xml" |
| line="50" |
| column="9"/> |
| </issue> |
| |
| </issues> |