Skip to content

Commit

Permalink
Merge branch 'conflicting-provider-between-build-variants-droid-543'
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Nov 27, 2023
2 parents d7d295a + 1306190 commit f976843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</intent-filter>
</service>
<provider android:name="net.mullvad.mullvadvpn.provider.MullvadFileProvider"
android:authorities="net.mullvad.mullvadvpn.FileProvider"
android:authorities="${applicationId}.FileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import org.joda.time.format.ISODateTimeFormat
class MullvadFileProvider : FileProvider(R.xml.provider_paths) {
companion object {
fun uriForFile(context: Context, file: File): Uri {
return getUriForFile(context, "net.mullvad.mullvadvpn.FileProvider", file)
return getUriForFile(context, "${context.packageName}.FileProvider", file)
}
}
}
Expand Down

0 comments on commit f976843

Please sign in to comment.