| <?xml version="1.0" encoding="UTF-8"?> | |
| <issues format="4" by="lint 3.0.0"> | |
| <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="133" | |
| 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=" <application" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/AndroidManifest.xml" | |
| line="22" | |
| column="5"/> | |
| </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 (and also breaks Instant Run)" | |
| errorLine1=" private static Config sInstance;" | |
| errorLine2=" ~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/text/emoji/Config.java" | |
| line="40" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="MergeRootFrame" | |
| message="This `<FrameLayout>` can be replaced with a `<merge>` tag" | |
| errorLine1="<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=" <ScrollView" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/res/layout/fragment_main.xml" | |
| line="24" | |
| column="5"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Show all emojis", should use `@string` resource" | |
| errorLine1=" android:text="Show all emojis"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/fragment_main.xml" | |
| line="80" | |
| column="17"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "EmojiCompat", should use `@string` resource" | |
| errorLine1=" android:text="EmojiCompat"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/layout_config.xml" | |
| line="32" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Replace All", should use `@string` resource" | |
| errorLine1=" android:text="Replace All"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/layout_config.xml" | |
| line="39" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Downloadable", should use `@string` resource" | |
| errorLine1=" android:text="Downloadable"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/layout_config.xml" | |
| line="46" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Indicator", should use `@string` resource" | |
| errorLine1=" android:text="Indicator"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/layout_config.xml" | |
| line="53" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="RtlHardcoded" | |
| message="Consider adding `android:layout_marginStart="@dimen/spacing_small"` to better support right-to-left layouts" | |
| errorLine1=" android:layout_marginLeft="@dimen/spacing_small"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/list_item_emoji.xml" | |
| line="39" | |
| column="9"/> | |
| </issue> | |
| </issues> |