force an editor app chooser at pressing Edit at the editor

This commit is contained in:
tibbi
2019-01-12 16:26:09 +01:00
parent 84ebb59482
commit 212af3f6dc
35 changed files with 4 additions and 36 deletions

View File

@ -633,7 +633,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
}
private fun editWith() {
openEditor(uri.toString())
openEditor(uri.toString(), true)
isEditingWithThirdParty = true
}

View File

@ -51,8 +51,8 @@ fun Activity.openPath(path: String, forceChooser: Boolean) {
openPathIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
}
fun Activity.openEditor(path: String) {
openEditorIntent(path, BuildConfig.APPLICATION_ID)
fun Activity.openEditor(path: String, forceChooser: Boolean = false) {
openEditorIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
}
fun Activity.launchCamera() {