mirror of
https://github.com/danog/termux-api.git
synced 2024-11-26 11:54:40 +01:00
fix termux/termux-app#995 on the java side
This commit is contained in:
parent
9dcfc91174
commit
e2d0176514
@ -81,7 +81,7 @@ public class ShareAPI {
|
||||
|
||||
Intent sendIntent = new Intent();
|
||||
sendIntent.setAction(finalIntentAction);
|
||||
Uri uriToShare = Uri.withAppendedPath(Uri.parse("content://com.termux.sharedfiles/"), fileExtra);
|
||||
Uri uriToShare = Uri.parse("content://com.termux.sharedfiles" + fileToShare.getAbsolutePath());
|
||||
sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
|
||||
String contentTypeToUse;
|
||||
|
Loading…
Reference in New Issue
Block a user