minor change

This commit is contained in:
Thibault Deckers 2019-10-21 23:31:05 +09:00
parent 34103d3707
commit c633edb9fd

View file

@ -110,6 +110,7 @@ public class AppAdapterHandler implements MethodChannel.MethodCallHandler {
private void edit(String title, Uri uri, String mimeType) {
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);
context.startActivity(Intent.createChooser(intent, title));
}