Compare commits
2 commits
38bdf15f40
...
0ca2725bf3
Author | SHA1 | Date | |
---|---|---|---|
0ca2725bf3 | |||
447c1135dd |
1 changed files with 2 additions and 2 deletions
|
@ -260,9 +260,9 @@ public class QShareUtils
|
|||
sendIntent.setType(mimeType);
|
||||
|
||||
sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
sendIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
||||
|
||||
return createCustomChooserAndStartActivity(sendIntent, title, requestId, uri);
|
||||
QtNative.activity().startActivity(Intent.createChooser(sendIntent, null));
|
||||
return true;
|
||||
}
|
||||
|
||||
public static boolean viewFile(String filePath, String title, String mimeType, int requestId) {
|
||||
|
|
Loading…
Reference in a new issue