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

Commit 4a7d2a84 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

Set the priority to handle ACTION_*_DOCUMENT action

Test: atest DocumentsTest
Test: manual
      1. Install an app register these actions
      2. Use ApiDemos to sent intents.
Fix: 143872220

Change-Id: I76425a5a49669ec913254af2ccee81f198175ed1
parent f2f56174
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -44,13 +44,13 @@
            android:name=".picker.PickActivity"
            android:theme="@style/DocumentsTheme"
            android:visibleToInstantApps="true">
            <intent-filter>
            <intent-filter android:priority="100">
                <action android:name="android.intent.action.OPEN_DOCUMENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.OPENABLE" />
                <data android:mimeType="*/*" />
            </intent-filter>
            <intent-filter>
            <intent-filter android:priority="100">
                <action android:name="android.intent.action.CREATE_DOCUMENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.OPENABLE" />
@@ -62,7 +62,7 @@
                <category android:name="android.intent.category.OPENABLE" />
                <data android:mimeType="*/*" />
            </intent-filter>
            <intent-filter>
            <intent-filter android:priority="100">
                <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>