Use FileProvider instead of File URIs

This commit is contained in:
2016-12-25 23:05:17 -05:00
parent d19d57e5df
commit 6adf8061d3
3 changed files with 45 additions and 2 deletions

View File

@@ -223,5 +223,15 @@
</intent-filter>
</receiver>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="org.isoron.uhabits"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>