From 12fe91a6dd633e8d564c1ad38d01205d5a8d7222 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Tue, 29 Oct 2019 07:28:51 +0100 Subject: [PATCH] use default open chooser with "just once", "always" Signed-off-by: tobiasKaminsky --- .../owncloud/android/ui/helpers/FileOperationsHelper.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java index d0be8ebf4aa4..0c6c0d1115c6 100755 --- a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java +++ b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java @@ -323,12 +323,7 @@ public void run() { openFileWithIntent.setFlags(openFileWithIntent.getFlags() | Intent.FLAG_ACTIVITY_NEW_TASK); - fileActivity.startActivity( - Intent.createChooser( - openFileWithIntent, - fileActivity.getString(R.string.actionbar_open_with) - ) - ); + fileActivity.startActivity(openFileWithIntent); } catch (ActivityNotFoundException exception) { DisplayUtils.showSnackMessage(fileActivity, R.string.file_list_no_app_for_file_type); }