never force chooser at Edit intent

This commit is contained in:
tibbi 2017-10-27 14:08:50 +02:00
parent c9f6668fc1
commit 84263a3b10

View file

@ -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)
}