Fixed ShareContentProvider and KMZ mime type.

This commit is contained in:
Dennis Guse
2019-08-25 21:37:47 +02:00
parent b8bea27155
commit 8685e43dc2
2 changed files with 6 additions and 3 deletions
@@ -144,6 +144,8 @@ public enum TrackFileFormat implements Parcelable {
dest.writeInt(ordinal());
}
private static final String MIME_KMZ = "application/vnd.google-earth.kmz";
private static final String MIME_KML = "application/vnd.google-earth.kml+xml";
public TrackExporter newTrackExporter(Context context, Track[] tracks, TrackExporterListener trackExporterListener) {
@@ -157,8 +159,6 @@ public enum TrackFileFormat implements Parcelable {
*/
public abstract String getMimeType();
private static final String MIME_KMZ = "application/vnd.google-earth.kml+xml";
private static TrackExporter newKmzTrackExporter(Context context, TrackWriter trackWriter, Track[] tracks, TrackExporterListener trackExporterListener) {
ContentProviderUtils contentProviderUtils = ContentProviderUtils.Factory.get(context);