Change summary
src/main/AndroidManifest.xml | 15
src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | 1
2 files changed, 2 insertions(+), 14 deletions(-)
Detailed changes
@@ -204,24 +204,11 @@
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEND"/>
-
- <category android:name="android.intent.category.DEFAULT"/>
-
- <data android:mimeType="text/plain"/>
- </intent-filter>
- <intent-filter>
- <action android:name="android.intent.action.SEND"/>
-
- <category android:name="android.intent.category.DEFAULT"/>
-
- <data android:mimeType="*/*"/>
- </intent-filter>
- <intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
- <data android:mimeType="image/*"/>
+ <data android:mimeType="*/*"/>
</intent-filter>
<meta-data
@@ -1566,6 +1566,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
case ATTACHMENT_CHOICE_CHOOSE_FILE:
chooser = true;
intent.setType("*/*");
+ intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setAction(Intent.ACTION_GET_CONTENT);
break;