mirror of
https://github.com/gsantner/dandelion
synced 2025-12-12 15:21:11 +01:00
replaced traditional file sharing with FileProvider (#174)
replaced traditional file sharing with FileProvider (fixes #173)
This commit is contained in:
parent
8ac5c2dee9
commit
255c6d650e
5 changed files with 40 additions and 3 deletions
|
|
@ -20,6 +20,16 @@
|
|||
android:authorities="${applicationId}.mainactivity"
|
||||
android:exported="false" />
|
||||
|
||||
<!--File provider for sharing files-->
|
||||
<provider
|
||||
android:name="android.support.v4.content.FileProvider"
|
||||
android:authorities="${applicationId}"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_provider_paths" />
|
||||
</provider>
|
||||
<service
|
||||
android:name="com.github.dfa.diaspora_android.service.FetchPodsService"
|
||||
android:enabled="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue