<table><tr><td style="">mtijink created this revision.<br />mtijink added a reviewer: KDE Connect.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9331" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Since Android Nougat, the previous way to open a file shared to android did not work anymore (using <tt style="background: #ebebeb; font-size: 13px;">file://</tt> urls), as marked with a TODO.</p>

<p>This diff implements the new way of opening files: a content provider url (<tt style="background: #ebebeb; font-size: 13px;">content://</tt>) allows opening files through the KDE Connect app. As an added benefit, apps without external files permission can now open files received by KDE Connect.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Works for me.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R225 KDE Connect - Android application</div></div></div><br /><div><strong>BRANCH</strong><div><div>share-file-nougat</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9331" rel="noreferrer">https://phabricator.kde.org/D9331</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>AndroidManifest.xml<br />
res/xml/fileprovider_paths.xml<br />
src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java</div></div></div><br /><div><strong>To: </strong>mtijink, KDE Connect<br /></div>