never force chooser at Edit intent
This commit is contained in:
parent
c9f6668fc1
commit
84263a3b10
|
@ -112,8 +112,7 @@ fun Activity.openEditor(uri: Uri) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resolveActivity(packageManager) != null) {
|
if (resolveActivity(packageManager) != null) {
|
||||||
val chooser = Intent.createChooser(this, getString(R.string.edit_image_with))
|
startActivityForResult(this, REQUEST_EDIT_IMAGE)
|
||||||
startActivityForResult(chooser, REQUEST_EDIT_IMAGE)
|
|
||||||
} else {
|
} else {
|
||||||
toast(R.string.no_editor_found)
|
toast(R.string.no_editor_found)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue