2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

For #17963 - Present Fenix as a browser app to the system

Fenix will now be able to be started from a call to
Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, Intent.CATEGORY_APP_BROWSER)

For more info:
https://developer.android.com/reference/android/content/Intent#CATEGORY_APP_BROWSER
This commit is contained in:
Mugurell 2021-03-01 18:12:35 +02:00
parent 42cc4cb452
commit 7d2c3071ee

View File

@ -145,6 +145,15 @@
android:exported="true" android:exported="true"
android:excludeFromRecents="true" > android:excludeFromRecents="true" >
<!--
Respond to `Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, Intent.CATEGORY_APP_BROWSER)`
-->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.APP_BROWSER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />