Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit e72d8697 authored by Gokul Swaminathan's avatar Gokul Swaminathan Committed by GitHub
Browse files

Merge pull request #4 from ORelio/master

Add application/pdf intent filters
parents e5d28e53 cf8a0f5a
Loading
Loading
Loading
Loading
+21 −1
Original line number Original line Diff line number Diff line
@@ -30,6 +30,17 @@
                <data android:pathPattern=".*\\.pdf" />
                <data android:pathPattern=".*\\.pdf" />
            </intent-filter>
            </intent-filter>


            <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:host="*" />
                <data android:scheme="smb" />
                <data android:scheme="http" />
                <data android:scheme="https" />
                <data android:mimeType="application/pdf" />
            </intent-filter>

            <intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.DEFAULT" />
@@ -37,11 +48,20 @@
                <data android:host="*" />
                <data android:host="*" />
                <data android:scheme="file" />
                <data android:scheme="file" />
                <data android:scheme="content" />
                <data android:scheme="content" />
                <data android:mimeType="*/*" />
                <data android:pathPattern=".*\\.pdf" />
                <data android:pathPattern=".*\\.pdf" />
                <data android:pathPattern=".*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\.pdf" />
            </intent-filter>
            </intent-filter>

            <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:host="*" />
                <data android:scheme="file" />
                <data android:scheme="content" />
                <data android:mimeType="application/pdf" />
            </intent-filter>
        </activity>
        </activity>


        <!-- About -->
        <!-- About -->