From a989f5e6fe9ec20eb60b1ef89237ffee515b2873 Mon Sep 17 00:00:00 2001 From: Forrest Guice Date: Wed, 11 May 2022 09:22:55 -0700 Subject: [PATCH] mimetype `application/json`; fixes bug where exported file cannot be selected by the file chooser when importing (#588) --- .../suntimeswidget/alarmclock/AlarmClockItemExportTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/AlarmClockItemExportTask.java b/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/AlarmClockItemExportTask.java index b561eae38..b75e910fe 100644 --- a/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/AlarmClockItemExportTask.java +++ b/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/AlarmClockItemExportTask.java @@ -33,7 +33,7 @@ public class AlarmClockItemExportTask extends ExportTask { public static final String FILEEXT = ".json"; - public static final String MIMETYPE = "application/octet-stream"; + public static final String MIMETYPE = "application/json"; public AlarmClockItemExportTask(Context context, String exportTarget) {