Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4de4021e authored by tibbi's avatar tibbi
Browse files

send the real_file_path at editor intent too

parent 6ffb91c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ buildscript {
        propMinSdkVersion = 16
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '3.12.6'
        propVersionName = '3.12.7'
        kotlin_version = '1.2.21'
        support_libs = '27.0.2'
    }
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@ fun Activity.openEditorIntent(path: String, applicationId: String) {
            setDataAndType(newUri, getUriMimeType(path, newUri))
            addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
            putExtra(MediaStore.EXTRA_OUTPUT, newUri)
            putExtra(REAL_FILE_PATH, path)

            if (resolveActivity(packageManager) != null) {
                startActivityForResult(this, REQUEST_EDIT_IMAGE)