fix sending logs
This commit is contained in:
parent
94b1fa3552
commit
d198de94c0
|
@ -81,7 +81,7 @@ public class MaintenancePlugin extends PluginBase {
|
|||
LOG.debug("zipFile: {}", zipFile.getAbsolutePath());
|
||||
File zip = this.zipLogs(zipFile, logs);
|
||||
|
||||
Uri attachementUri = FileProvider.getUriForFile(this.ctx, BuildConfig.APPLICATION_ID + ".provider", zip);
|
||||
Uri attachementUri = FileProvider.getUriForFile(this.ctx, BuildConfig.APPLICATION_ID + ".fileprovider", zip);
|
||||
Intent emailIntent = this.sendMail(attachementUri, recipient, "Log Export");
|
||||
LOG.debug("sending emailIntent");
|
||||
ctx.startActivity(emailIntent);
|
||||
|
|
Loading…
Reference in a new issue