minor change
This commit is contained in:
parent
34103d3707
commit
c633edb9fd
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ public class AppAdapterHandler implements MethodChannel.MethodCallHandler {
|
||||||
|
|
||||||
private void edit(String title, Uri uri, String mimeType) {
|
private void edit(String title, Uri uri, String mimeType) {
|
||||||
Intent intent = new Intent(Intent.ACTION_EDIT);
|
Intent intent = new Intent(Intent.ACTION_EDIT);
|
||||||
|
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
||||||
intent.setDataAndType(uri, mimeType);
|
intent.setDataAndType(uri, mimeType);
|
||||||
context.startActivity(Intent.createChooser(intent, title));
|
context.startActivity(Intent.createChooser(intent, title));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue