Bug 1234629 - Part 3: Make bouncer's <intent-filter> set a larger subset of Fennec's <intent-filter> set. r=margaret

--HG--
extra : commitid : 5fizArOKIYO
extra : rebase_source : b3241c4a14850848f025733f9a41b069baca910d
extra : source : f80912ecfa87584394d22e28ed09e68c182d1b35
extra : histedit_source : 7fd02c5b614dfb5f0d7780f2d4701576dade9769
This commit is contained in:
Nick Alexander 2016-01-27 15:44:29 -08:00
parent 002a20ac3b
commit 98ab42ac64

View File

@ -40,9 +40,51 @@
android:name="@MOZ_ANDROID_BROWSER_INTENT_CLASS@"
android:label="@MOZ_APP_DISPLAYNAME@"
android:theme="@android:style/Theme.Translucent">
<!-- Aping org.mozilla.gecko.BrowserApp. -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/>
<category android:name="android.intent.category.APP_BROWSER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="com.sec.minimode.icon.portrait.normal"
android:resource="@drawable/icon"/>
<meta-data android:name="com.sec.minimode.icon.landscape.normal"
android:resource="@drawable/icon" />
<intent-filter>
<action android:name="android.intent.action.WEB_SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="" />
<data android:scheme="http" />
<data android:scheme="https" />
</intent-filter>
<!-- Aping org.mozilla.gecko.tabqueue.TabQueueDispatcher. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="about" />
<data android:scheme="javascript" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:mimeType="text/html"/>
<data android:mimeType="text/plain"/>
<data android:mimeType="application/xhtml+xml"/>
</intent-filter>
</activity>