Fix file opening
ClosedPublic

Authored by nicolasfella on Jan 5 2019, 1:28 AM.

Details

Summary

During the SharePlugin refactoring the way the mime type was determined changed which broke opening files from the desktop.

Test Plan

I can open pkpass/jsonld files in Itinerary again

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Jan 5 2019, 1:28 AM
Restricted Application added a project: KDE Connect. · View Herald TranscriptJan 5 2019, 1:28 AM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
nicolasfella requested review of this revision.Jan 5 2019, 1:28 AM

+1. (Weird though that DocumentFile.getType() returns something different than what it was created with)

albertvaka accepted this revision.Feb 20 2019, 5:14 PM
This revision is now accepted and ready to land.Feb 20 2019, 5:14 PM
This revision was automatically updated to reflect the committed changes.