Home | History | Annotate | Download | only in SupportEmojiDemos
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <issues format="4" by="lint 3.0.0">
      3 
      4     <issue
      5         id="VisibleForTests"
      6         message="This method should only be accessed from tests or within private scope"
      7         errorLine1="        EmojiCompat.reset(config);"
      8         errorLine2="                    ~~~~~">
      9         <location
     10             file="src/main/java/com/example/android/support/text/emoji/Config.java"
     11             line="133"
     12             column="21"/>
     13     </issue>
     14 
     15     <issue
     16         id="AllowBackup"
     17         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"
     18         errorLine1="    &lt;application"
     19         errorLine2="    ^">
     20         <location
     21             file="src/main/AndroidManifest.xml"
     22             line="22"
     23             column="5"/>
     24     </issue>
     25 
     26     <issue
     27         id="StaticFieldLeak"
     28         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)"
     29         errorLine1="    private static Config sInstance;"
     30         errorLine2="            ~~~~~~">
     31         <location
     32             file="src/main/java/com/example/android/support/text/emoji/Config.java"
     33             line="40"
     34             column="13"/>
     35     </issue>
     36 
     37     <issue
     38         id="MergeRootFrame"
     39         message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
     40         errorLine1="&lt;FrameLayout"
     41         errorLine2="^">
     42         <location
     43             file="src/main/res/layout/activity_main.xml"
     44             line="18"
     45             column="1"/>
     46     </issue>
     47 
     48     <issue
     49         id="UselessParent"
     50         message="This `ScrollView` layout or its `FrameLayout` parent is possibly useless"
     51         errorLine1="    &lt;ScrollView"
     52         errorLine2="    ^">
     53         <location
     54             file="src/main/res/layout/fragment_main.xml"
     55             line="24"
     56             column="5"/>
     57     </issue>
     58 
     59     <issue
     60         id="HardcodedText"
     61         message="Hardcoded string &quot;Show all emojis&quot;, should use `@string` resource"
     62         errorLine1="                android:text=&quot;Show all emojis&quot;/>"
     63         errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
     64         <location
     65             file="src/main/res/layout/fragment_main.xml"
     66             line="80"
     67             column="17"/>
     68     </issue>
     69 
     70     <issue
     71         id="HardcodedText"
     72         message="Hardcoded string &quot;EmojiCompat&quot;, should use `@string` resource"
     73         errorLine1="            android:text=&quot;EmojiCompat&quot;"
     74         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~">
     75         <location
     76             file="src/main/res/layout/layout_config.xml"
     77             line="32"
     78             column="13"/>
     79     </issue>
     80 
     81     <issue
     82         id="HardcodedText"
     83         message="Hardcoded string &quot;Replace All&quot;, should use `@string` resource"
     84         errorLine1="            android:text=&quot;Replace All&quot;"
     85         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~">
     86         <location
     87             file="src/main/res/layout/layout_config.xml"
     88             line="39"
     89             column="13"/>
     90     </issue>
     91 
     92     <issue
     93         id="HardcodedText"
     94         message="Hardcoded string &quot;Downloadable&quot;, should use `@string` resource"
     95         errorLine1="            android:text=&quot;Downloadable&quot;"
     96         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
     97         <location
     98             file="src/main/res/layout/layout_config.xml"
     99             line="46"
    100             column="13"/>
    101     </issue>
    102 
    103     <issue
    104         id="HardcodedText"
    105         message="Hardcoded string &quot;Indicator&quot;, should use `@string` resource"
    106         errorLine1="            android:text=&quot;Indicator&quot;"
    107         errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~">
    108         <location
    109             file="src/main/res/layout/layout_config.xml"
    110             line="53"
    111             column="13"/>
    112     </issue>
    113 
    114     <issue
    115         id="RtlHardcoded"
    116         message="Consider adding `android:layout_marginStart=&quot;@dimen/spacing_small&quot;` to better support right-to-left layouts"
    117         errorLine1="        android:layout_marginLeft=&quot;@dimen/spacing_small&quot;/>"
    118         errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~">
    119         <location
    120             file="src/main/res/layout/list_item_emoji.xml"
    121             line="39"
    122             column="9"/>
    123     </issue>
    124 
    125 </issues>
    126