]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Suppress linting error in manifest related to cert import activity
authorTobias Brunner <tobias@strongswan.org>
Thu, 14 May 2020 13:55:36 +0000 (15:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 12:42:48 +0000 (14:42 +0200)
<data> tags that only specify the mimeType attribute are perfectly fine
according to the docs.

src/frontends/android/app/src/main/AndroidManifest.xml

index 6c61e06f17d2a1e10260ba95acd9a1418c6da96e..3f6302d0701b110afe94b7fd73c2d1d4e891a8af 100644 (file)
@@ -16,6 +16,7 @@
     for more details.
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     package="org.strongswan.android">
 
     <uses-permission android:name="android.permission.INTERNET" />
             android:name=".ui.TrustedCertificateImportActivity"
             android:label="@string/import_certificate"
             android:theme="@style/TransparentActivity" >
-            <intent-filter>
+            <intent-filter tools:ignore="AppLinkUrlError">
                 <action android:name="android.intent.action.VIEW" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:mimeType="application/x-x509-ca-cert" />