mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +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" />
|
||||
</intent-filter>
|
||||
<!--
|
||||
Proton Drive public links. Not autoVerify: the domain is Proton's,
|
||||
so Android treats these as unverified and only opens them here
|
||||
once "Open supported links" is allowed in the app's settings.
|
||||
Sharing a link to the app works without that.
|
||||
Proton Drive public links. autoVerify="false", said explicitly:
|
||||
the domain is Proton's, so this can never be a verified App Link.
|
||||
Android only opens these here once "Open supported links" is
|
||||
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" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
Reference in new issue
Block a user