Bug 950417 - Add XPI intent filter. r=snorp
☠☠ backed out by e7e932d94e73 ☠ ☠
authorEugen Sawin <esawin@mozilla.com>
Mon, 03 Mar 2014 18:47:55 +0100
changeset 171536 7e424486f60e1cfba520e8e436739d593ca1c165
parent 171535 a31db792093fc6eb54d4d2d9e386524b16f731de
child 171537 9a0daca21f30eb75fc1a30026a728cb9392baca9
push id5407
push userryanvm@gmail.com
push dateMon, 03 Mar 2014 22:16:41 +0000
treeherderfx-team@01a05eb98629 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs950417
milestone30.0a1
Bug 950417 - Add XPI intent filter. r=snorp
mobile/android/base/AndroidManifest.xml.in
--- a/mobile/android/base/AndroidManifest.xml.in
+++ b/mobile/android/base/AndroidManifest.xml.in
@@ -136,16 +136,22 @@
                 <data android:scheme="http" />
                 <data android:scheme="https" />
             </intent-filter>
 
             <intent-filter>
                 <action android:name="android.intent.action.SEARCH" />
             </intent-filter>
 
+            <intent-filter>
+                <action android:name="android.intent.action.VIEW" />
+                <category android:name="android.intent.category.DEFAULT" />
+                <data android:mimeType="application/x-xpinstall" />
+            </intent-filter>
+
 #ifdef MOZ_ANDROID_BEAM
             <intent-filter>
                 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="http" />
                 <data android:scheme="https" />
             </intent-filter>
 #endif