simplify browse URL IntentFilter data for readability
Each piece of <data /> applies to the whole IntentFilter, so each scheme, host, or pathPattern only needs to be stated once per IntentFilter.
This commit is contained in:
parent
3301a57a01
commit
f5ce7d8588
@ -49,14 +49,11 @@
|
|||||||
<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" />
|
||||||
|
|
||||||
<data android:scheme="http" android:host="f-droid.org"
|
<data android:scheme="http" />
|
||||||
android:pathPrefix="/repository/browse" />
|
<data android:scheme="https" />
|
||||||
<data android:scheme="https" android:host="f-droid.org"
|
<data android:host="f-droid.org" />
|
||||||
android:pathPrefix="/repository/browse" />
|
<data android:host="www.f-droid.org" />
|
||||||
<data android:scheme="http" android:host="www.f-droid.org"
|
<data android:pathPrefix="/repository/browse" />
|
||||||
android:pathPrefix="/repository/browse" />
|
|
||||||
<data android:scheme="https" android:host="www.f-droid.org"
|
|
||||||
android:pathPrefix="/repository/browse" />
|
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
@ -134,14 +131,11 @@
|
|||||||
<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" />
|
||||||
|
|
||||||
<data android:scheme="http" android:host="f-droid.org"
|
<data android:scheme="http" />
|
||||||
android:pathPrefix="/app/" />
|
<data android:scheme="https" />
|
||||||
<data android:scheme="https" android:host="f-droid.org"
|
<data android:host="f-droid.org" />
|
||||||
android:pathPrefix="/app/" />
|
<data android:host="www.f-droid.org" />
|
||||||
<data android:scheme="http" android:host="www.f-droid.org"
|
<data android:pathPrefix="/app/" />
|
||||||
android:pathPrefix="/app/" />
|
|
||||||
<data android:scheme="https" android:host="www.f-droid.org"
|
|
||||||
android:pathPrefix="/app/" />
|
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user