From d198de94c0cf91c77f55a838a03b361e4ee658bf Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 17 Aug 2018 17:01:48 +0200 Subject: [PATCH] fix sending logs --- .../androidaps/plugins/Maintenance/MaintenancePlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Maintenance/MaintenancePlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/Maintenance/MaintenancePlugin.java index 47e3a3330f..56cd67f328 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Maintenance/MaintenancePlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Maintenance/MaintenancePlugin.java @@ -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);