mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 16:57:00 +01:00
fix(android): mark the share-link filter autoVerify="false"
Lint's AppLinkWarning failed the gate: a BROWSABLE https filter reads as an App Link missing autoVerify. It can never be one, since drive.proton.me is Proton's domain, so the attribute now says so.
This commit is contained in:
1 parent
c63f08ac91
commit
5673a44310
1 file changed
+6
-5
@@ -40,12 +40,13 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<!--
|
<!--
|
||||||
Proton Drive public links. Not autoVerify: the domain is Proton's,
|
Proton Drive public links. autoVerify="false", said explicitly:
|
||||||
so Android treats these as unverified and only opens them here
|
the domain is Proton's, so this can never be a verified App Link.
|
||||||
once "Open supported links" is allowed in the app's settings.
|
Android only opens these here once "Open supported links" is
|
||||||
Sharing a link to the app works without that.
|
allowed in the app's settings; sharing a link to the app works
|
||||||
|
without that.
|
||||||
-->
|
-->
|
||||||
<intent-filter>
|
<intent-filter android:autoVerify="false">
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|||||||
Reference in new issue
Block a user