• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="4" by="lint 3.0.0">
3
4    <issue
5        id="AllowBackup"
6        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"
7        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
8        errorLine2="    ^">
9        <location
10            file="src/main/AndroidManifest.xml"
11            line="21"
12            column="5"/>
13    </issue>
14
15    <issue
16        id="AllowBackup"
17        message="Should explicitly set `android:allowBackup` to `true` or `false` (it&apos;s `true` by default, and that can have some security implications for the application&apos;s data)"
18        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
19        errorLine2="    ^">
20        <location
21            file="src/main/AndroidManifest.xml"
22            line="21"
23            column="5"/>
24    </issue>
25
26    <issue
27        id="ObsoleteSdkInt"
28        message="Unnecessary; SDK_INT is always >= 14"
29        errorLine1="        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {"
30        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="src/main/java/com/example/android/support/appnavigation/app/ActionBarCompat.java"
33            line="38"
34            column="13"/>
35    </issue>
36
37    <issue
38        id="ObsoleteSdkInt"
39        message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`.">
40        <location
41            file="src/main/res/values-v11"/>
42    </issue>
43
44    <issue
45        id="ObsoleteSdkInt"
46        message="This folder configuration (`v14`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`.">
47        <location
48            file="src/main/res/values-v14"/>
49    </issue>
50
51    <issue
52        id="MissingApplicationIcon"
53        message="Should explicitly set `android:icon`, there is no default"
54        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
55        errorLine2="    ^">
56        <location
57            file="src/main/AndroidManifest.xml"
58            line="21"
59            column="5"/>
60    </issue>
61
62    <issue
63        id="AppLinkUrlError"
64        message="Missing URL"
65        errorLine1="            &lt;intent-filter>"
66        errorLine2="            ^">
67        <location
68            file="src/main/AndroidManifest.xml"
69            line="72"
70            column="13"/>
71    </issue>
72
73    <issue
74        id="SetTextI18n"
75        message="String literal in `setText` can not be translated. Use Android resources instead."
76        errorLine1="            tv.setText(&quot;Viewing content from ACTION_VIEW&quot;);"
77        errorLine2="                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
78        <location
79            file="src/main/java/com/example/android/support/appnavigation/app/ContentViewActivity.java"
80            line="44"
81            column="24"/>
82    </issue>
83
84    <issue
85        id="SetTextI18n"
86        message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
87        errorLine1="        tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount);"
88        errorLine2="                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
89        <location
90            file="src/main/java/com/example/android/support/appnavigation/app/PeerActivity.java"
91            line="45"
92            column="20"/>
93    </issue>
94
95</issues>
96