From 84263a3b10551a474776983dbcff341c542f42ca Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 27 Oct 2017 14:08:50 +0200 Subject: [PATCH] never force chooser at Edit intent --- .../com/simplemobiletools/gallery/extensions/activity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt index b721d60cf..513aaca5d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt @@ -112,8 +112,7 @@ fun Activity.openEditor(uri: Uri) { } if (resolveActivity(packageManager) != null) { - val chooser = Intent.createChooser(this, getString(R.string.edit_image_with)) - startActivityForResult(chooser, REQUEST_EDIT_IMAGE) + startActivityForResult(this, REQUEST_EDIT_IMAGE) } else { toast(R.string.no_editor_found) }