MCPcopy Create free account
hub / github.com/M66B/FairEmail / share

Method share

app/src/main/java/eu/faircode/email/Helper.java:1120–1124  ·  view source on GitHub ↗
(Context context, File file, String type, String name)

Source from the content-addressed store, hash-verified

1118 }
1119
1120 static void share(Context context, File file, String type, String name) {
1121 // https://developer.android.com/reference/androidx/core/content/FileProvider
1122 Uri uri = FileProviderEx.getUri(context, BuildConfig.APPLICATION_ID, file, name);
1123 share(context, uri, type, name);
1124 }
1125
1126 static void share(Context context, Uri uri, String type, String name) {
1127 try {

Callers 5

onExecutedMethod · 0.95
onViewConfirmedMethod · 0.95
onClickMethod · 0.95
onExecutedMethod · 0.95
onExecutedMethod · 0.95

Calls 3

getUriMethod · 0.95
_shareMethod · 0.95
eMethod · 0.95

Tested by

no test coverage detected