[go: nahoru, domu]

blob: 3f7e759c5625aa7d3a00f1c8af5aadd626c6bc0c [file] [log] [blame]
<?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="ObsoleteLintCustomCheck"
message="Lint found an issue registry (`androidx.build.lint.AndroidXIssueRegistry`) which did not specify the Lint API version it was compiled with.&#xA;&#xA;**This means that the lint checks are likely not compatible.**&#xA;&#xA;If you are the author of this lint check, make your lint `IssueRegistry` class contain&#xA;  override val api: Int = com.android.tools.lint.detector.api.CURRENT_API&#xA;or from Java,&#xA;  @Override public int getApi() { return com.android.tools.lint.detector.api.ApiKt.CURRENT_API; }&#xA;&#xA;If you are just using lint checks from a third party library you have no control over, you can disable these lint checks (if they misbehave) like this:&#xA;&#xA;    android {&#xA;        lintOptions {&#xA;            disable &quot;BanKeepAnnotation&quot;,&#xA;                    &quot;BanParcelableUsage&quot;,&#xA;                    &quot;BanTargetApiAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;MissingTestSizeAnnotation&quot;,&#xA;                    &quot;ObsoleteBuildCompat&quot;&#xA;        }&#xA;    }&#xA;">
<location
file="../../../../out/buildSrc/lint-checks/build/libs/lint-checks.jar"/>
</issue>
<issue
id="RestrictedApi"
message="EmojiCompat.reset can only be called from within the same library group prefix (referenced groupId=`androidx.emoji` with prefix androidx from groupId=`androidx`)"
errorLine1=" EmojiCompat.reset(config);"
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/android/support/text/emoji/Config.java"
line="134"
column="21"/>
</issue>
<issue
id="VisibleForTests"
message="This method should only be accessed from tests or within private scope"
errorLine1=" EmojiCompat.reset(config);"
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/android/support/text/emoji/Config.java"
line="134"
column="21"/>
</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=" &lt;application"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="22"
column="6"/>
</issue>
<issue
id="StaticFieldLeak"
message="Do not place Android context classes in static fields (static reference to `Config` which has field `mContext` pointing to `Context`); this is a memory leak"
errorLine1=" private static Config sInstance;"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/support/text/emoji/Config.java"
line="41"
column="13"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout"
errorLine2="^">
<location
file="src/main/res/layout/activity_main.xml"
line="18"
column="1"/>
</issue>
<issue
id="UselessParent"
message="This `ScrollView` layout or its `FrameLayout` parent is possibly useless"
errorLine1=" &lt;ScrollView"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_main.xml"
line="24"
column="6"/>
</issue>
<issue
id="RedundantNamespace"
message="This namespace declaration is redundant"
errorLine1=" xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/list_item_emoji.xml"
line="25"
column="9"/>
</issue>
<issue
id="RedundantNamespace"
message="This namespace declaration is redundant"
errorLine1=" xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/list_item_emoji.xml"
line="33"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Show all emojis&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Show all emojis&quot;/>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_main.xml"
line="80"
column="17"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;EmojiCompat&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;EmojiCompat&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/layout_config.xml"
line="32"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Replace All&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Replace All&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/layout_config.xml"
line="39"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Downloadable&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Downloadable&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/layout_config.xml"
line="46"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Indicator&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Indicator&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/layout_config.xml"
line="53"
column="13"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider adding `android:layout_marginStart=&quot;@dimen/spacing_small&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_marginLeft=&quot;@dimen/spacing_small&quot;/>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/list_item_emoji.xml"
line="39"
column="9"/>
</issue>
</issues>