summaryrefslogtreecommitdiffhomepage
path: root/android/app/lint-baseline.xml
blob: f176afcc1c0c5b24ac203233d82596a54ddfec28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.1.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0)" variant="all" version="8.1.0">

    <issue
        id="MissingSuperCall"
        message="Overriding method should call `super.onActivityResult`"
        errorLine1="    override fun onActivityResult(requestCode: Int, resultCode: Int, resultData: Intent?) {"
        errorLine2="                 ~~~~~~~~~~~~~~~~">
        <location
            file="src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt"
            line="134"
            column="18"/>
    </issue>

    <issue
        id="InlinedApi"
        message="Field requires API level 33 (current min is 26): `android.Manifest.permission#POST_NOTIFICATIONS`"
        errorLine1="            requestNotificationPermissionLauncher.launch(Manifest.permission.POST_NOTIFICATIONS)"
        errorLine2="                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt"
            line="357"
            column="58"/>
    </issue>

    <issue
        id="RedundantLabel"
        message="Redundant label can be removed"
        errorLine1="            android:label=&quot;@string/app_name&quot;"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/debug/AndroidManifest.xml"
            line="21"
            column="13"/>
    </issue>

    <issue
        id="RedundantLabel"
        message="Redundant label can be removed"
        errorLine1="                  android:label=&quot;@string/app_name&quot;"
        errorLine2="                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="33"
            column="19"/>
    </issue>

    <issue
        id="UseCheckPermission"
        message="The result of `checkPermission` is not used"
        errorLine1="                    mockedPackageManager.checkPermission(internet, packageName)"
        errorLine2="                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/test/kotlin/net/mullvad/mullvadvpn/applist/ApplicationsProviderTest.kt"
            line="88"
            column="21"/>
    </issue>

    <issue
        id="DataExtractionRules"
        message="The attribute `android:allowBackup` is deprecated from Android 12 and higher and may be removed in future versions. Consider adding the attribute `android:dataExtractionRules` specifying an `@xml` resource which configures cloud backups and device transfers on Android 12 and higher."
        errorLine1="                 android:allowBackup=&quot;false&quot;"
        errorLine2="                                      ~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="23"
            column="39"/>
    </issue>

    <issue
        id="QueryAllPackagesPermission"
        message="A `&lt;queries>` declaration should generally be used instead of QUERY_ALL_PACKAGES; \&#xA;see https://g.co/dev/packagevisibility for details"
        errorLine1="    &lt;uses-permission android:name=&quot;android.permission.QUERY_ALL_PACKAGES&quot; />"
        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="6"
            column="22"/>
    </issue>

    <issue
        id="MergeRootFrame"
        message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
        errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
        errorLine2="^">
        <location
            file="src/main/res/layout/main.xml"
            line="1"
            column="1"/>
    </issue>

</issues>