Download überarbeitet, nun wird die Datei vom richtigen Standard Programm geöffnet

This commit is contained in:
Joshua
2018-11-06 17:39:14 +01:00
parent 146807b93e
commit 44b95d7b70
3 changed files with 35 additions and 4 deletions

View File

@@ -24,6 +24,15 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.my.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
</application>
</manifest>