Browse Source

Remove File Picker change

pull/407/head
Alon Albert 6 years ago
parent
commit
983f42e4ca
  1. 2
      app/src/main/java/org/transdroid/core/gui/search/FilePickerHelper.java

2
app/src/main/java/org/transdroid/core/gui/search/FilePickerHelper.java

@ -42,7 +42,7 @@ public class FilePickerHelper { @@ -42,7 +42,7 @@ public class FilePickerHelper {
public static void startFilePicker(final Activity activity) {
try {
// Start a file manager that can handle the file/* file/* intents
activity.startActivityForResult(new Intent(Intent.ACTION_GET_CONTENT).setType("application/x-bittorrent"),
activity.startActivityForResult(new Intent(Intent.ACTION_GET_CONTENT).setType("file/*"),
ACTIVITY_FILEPICKER);
} catch (Exception e1) {
try {

Loading…
Cancel
Save