Fix file opening
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
KDE Connect
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
Branch
fixopening
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6656
Build 6674: arc lint + arc unit
nicolasfella created this revision.Sat, Jan 5, 1:28 AM
Restricted Application added a project: KDE Connect. · View Herald TranscriptSat, Jan 5, 1:28 AM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
nicolasfella requested review of this revision.Sat, Jan 5, 1:28 AM

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